Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Experimenting with the Streams API

The code in this repo is used as an example for an article on my blog at deanhume.com.

Streams API

The benefit of using streams is that if you are sending large chunks of data over the web, you can start processing the data immediately as you receive it, without having to wait for the full download to complete. For example, if you think of a large video file and imagine how long it might take to download the whole file. Using a stream allows you to download only the small amount of data that you need to view the video instead of the whole file - this means that you can view the video as quickly as the network takes to get you just those bytes.

In this article, I run through a simple example and show you how to get started with the Streams API in no time!

About

Experimenting with the Streams spec

Resources

License

Releases

No releases published

Packages

No packages published