Interface ReadableStreamDefaultController<R>

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

Type Parameters

  • R = any

Properties

Methods

Properties

desiredSize: null | number

Methods

  • Returns void

  • Parameters

    • Optionalchunk: R

    Returns void

  • Parameters

    • Optionale: any

    Returns void