ReadableStreamSource : Object
Object that provides the sequence of values for a ReadableStream. Passed to the ReadableStream constructor. Any JavaScript object can be used as a readable stream source. Any of the properties/method can be specified. If a property/method is not provided, the ReadableStream will use a default behavior for the property/method.
Instance Methods
Called when the stream has been canceled, either by ReadableStream.cancel() or Reader.cancel(), with reason
as the value passed to that function.
Example:
RunResults:
Called each time the stream's internal queue drops below the high water mark, indicating this
should enqueue more chunks.
Example:
RunResults:
Copyright © JavaScripture Contributors