Interface ReadableStreamAsyncIterator<T>

interface ReadableStreamAsyncIterator<T> {
    [asyncDispose](): PromiseLike<void>;
    [asyncDispose](): PromiseLike<void>;
    [asyncIterator](): ReadableStreamAsyncIterator<T>;
    next(...__namedParameters: [] | [unknown]): Promise<IteratorResult<T, undefined>>;
    return?(value?: PromiseLike<undefined>): Promise<IteratorResult<T, undefined>>;
    throw?(e?: any): Promise<IteratorResult<T, undefined>>;
}

Type Parameters

  • T

Hierarchy

Methods

  • Returns PromiseLike<void>

  • Returns PromiseLike<void>

  • Parameters

    • Rest...__namedParameters: [] | [unknown]

    Returns Promise<IteratorResult<T, undefined>>

  • Parameters

    Returns Promise<IteratorResult<T, undefined>>

  • Parameters

    • Optionale: any

    Returns Promise<IteratorResult<T, undefined>>