Interface ReadableStreamAsyncIterator<T>

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

    Type Parameters

    • T
    Hierarchy

    Methods