Classes
ReadableByteStreamController
Implements
Constructors
new ReadableByteStreamController()
new ReadableByteStreamController(): ReadableByteStreamController
Returns
Properties
Property | Modifier | Type | Description |
---|---|---|---|
byobRequest | readonly | null | ReadableStreamBYOBRequest | MDN Reference |
desiredSize | readonly | null | number | MDN Reference |
Methods
close()
close(): void
Returns
void
Implementation of
globalThis.ReadableByteStreamController.close
enqueue()
enqueue(chunk
): void
Parameters
Parameter | Type |
---|---|
chunk | ArrayBufferView |
Returns
void
Implementation of
globalThis.ReadableByteStreamController.enqueue
error()
error(e
?): void
Parameters
Parameter | Type |
---|---|
e ? | any |
Returns
void
Implementation of
globalThis.ReadableByteStreamController.error