Interface ReadableStreamDefaultController<R>

interface ReadableStreamDefaultController {
    desiredSize: number;
    close(): void;
    enqueue(chunk?): void;
    error(e?): void;
}

Type Parameters

  • R = any

Properties

Methods

Properties

desiredSize: number

Methods

  • Returns void

  • Parameters

    • Optional chunk: R

    Returns void

  • Parameters

    • Optional e: any

    Returns void

Generated using TypeDoc