Interface ReadableStreamDefaultController<R>

interface ReadableStreamDefaultController<R> {
    desiredSize: null | number;
    close(): void;
    enqueue(chunk?): void;
    error(e?): void;
}

Type Parameters

  • R = any

Properties

Methods

Properties

desiredSize: null | number

Methods

  • Returns void

  • Parameters

    • Optional chunk: R

    Returns void

  • Parameters

    • Optional e: any

    Returns void

Generated using TypeDoc