Classes
TransformStreamDefaultController
Type Parameters
Type Parameter | Default type |
---|---|
O | any |
Constructors
new TransformStreamDefaultController()
new TransformStreamDefaultController<O
>(): TransformStreamDefaultController
<O
>
Returns
TransformStreamDefaultController
<O
>
Properties
Property | Modifier | Type | Description |
---|---|---|---|
desiredSize | readonly | null | number | MDN Reference |
Methods
enqueue()
enqueue(chunk
?): void
Parameters
Parameter | Type |
---|---|
chunk ? | O |
Returns
void
error()
error(reason
?): void
Parameters
Parameter | Type |
---|---|
reason ? | any |
Returns
void
terminate()
terminate(): void
Returns
void