tejasq / basically-streams Goto Github PK
View Code? Open in Web Editor NEWAn introductory project to the relatively new streaming APIs available in modern browsers.
Home Page: https://tejasq.github.io/basically-streams
License: MIT License
An introductory project to the relatively new streaming APIs available in modern browsers.
Home Page: https://tejasq.github.io/basically-streams
License: MIT License
I think it would be better from an encapsulation perspective if the ReadableStream removed the characters. from the left-hand side. Then the writable stream would only have to add them into the div on the right-hand side.
This would mean that the WritableStream was reusable with other sources of data.
Hello, I was trying out the "basically-streams/examples/fetch" example and noticed a potential issue. When loading the three example images, the largest image is not read from the disk cache after "fetch", but is loaded again. This means that the progress bar does not accurately reflect the loading progress, as the image is actually requested twice, and the progress bar only displays the progress of the first request. I wanted to ask, is this the expected behavior?
When I've shown demos to people, I've found it useful to have a "Reset" button on the page so I can start the demo again from scratch. This doesn't need to be fancy: hooking it up to location.reload()
would work.
I didn't spot the sample images the first time I looked at the page. Maybe I am just unobservant, but my eyes didn't go down past the input box. A few ideas:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.