Interface ReadableStreamDefaultReader<R>

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

Type Parameters

  • R = any

Hierarchy (view full)

Properties

Methods

Properties

closed: Promise<undefined>

Methods

  • Returns void