Interface ReadableStreamDefaultController<R>

interface ReadableStreamDefaultController<R> {
    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