TransformStreamDefaultController
interface
interface TransformStreamDefaultController<O = any>variable
var TransformStreamDefaultController: { … }The constructor object for TransformStreamDefaultController.
Instances are passed to a TransformStream's transformer callbacks
rather than constructed directly, so calling the constructor throws.
Constructors
constructor
new TransformStreamDefaultController(): neverProperties
desiredSize
readonly desiredSize: number | nullprototype
readonly prototype: TransformStreamDefaultControllerMethods
enqueue
enqueue(chunk?: O): voiderror
error(reason?: any): voidterminate
terminate(): void