Public
Like
1
streamExample
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Demonstrates our ability to handle streaming responses. We do, in practice, read the streams and then return the response - basically buffering - but with the support for the Response
object we include the option to pass a ReadableStream
instance as the first argument.
Note that it's required that the ReadableStream returns Uint8Array items.