search

ReadableStreamDefaultController<T>

Exported By
Extends
All Implemented Interfaces

The controller for a ReadableStream. Adds cancellation and backpressure onto the liteImpl DefaultController.

new ReadableStreamDefaultController<T>( stream, cancelAlgorithm, pullAlgorithm, strategyHWM, strategySizeAlgorithm )

Parameters
streamReadableStream
cancelAlgorithm(function(*): Promise<undefined>|undefined)
pullAlgorithm(function(ReadableStreamDefaultController): Promise<undefined>|undefined)
strategyHWMnumber
strategySizeAlgorithm(function((T|null)): number|undefined)

Instance Methods

Instance Properties