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

Type Parameters

  • T

Hierarchy (view full)

Methods