Interface ReadableByteStreamController

interface ReadableByteStreamController {
    get byobRequest(): ReadableStreamBYOBRequest;
    get desiredSize(): number;
    close(): void;
    enqueue(chunk): void;
    error(reason): void;
}

Accessors

  • get desiredSize(): number
  • Returns number

Methods

  • Parameters

    • chunk: ArrayBuffer | ArrayBufferView

    Returns void

  • Parameters

    • reason: any

    Returns void