Interface ReadableStreamDefaultReader<R>

interface ReadableStreamDefaultReader<R> {
    closed: Promise<undefined>;
    cancel(reason?): Promise<void>;
    read(): Promise<ReadableStreamDefaultReadResult<R>>;
    releaseLock(): void;
}

Type Parameters

  • R = any

Hierarchy (view full)

Properties

Methods

Properties

closed: Promise<undefined>

Methods

  • Parameters

    • Optional reason: any

    Returns Promise<void>

  • Returns void

Generated using TypeDoc