Skip to main content

class AsyncMapPureIterator<T,A,T2>

undocumented

Extends: AsyncFastIteratorBase<T>

Type parameters

NameConstraintsDescription
Tundocumented
Areadonly unknown[]undocumented
T2undocumented

Properties

args

undocumented

Definition

readonly args: A;

mapFun

undocumented

Definition

readonly mapFun: (value: T, ...args: A) => MaybePromise<T2>;

return

undocumented

Definition

return?: () => Promise<any>;

Overrides

AsyncFastIteratorBase.return

source

undocumented

Definition

readonly source: AsyncFastIterator<T>;

Methods

fastNext

undocumented

Definition

fastNext<O>(otherwise?: AsyncOptLazy<O>): Promise<T2 | O>;

Type parameters

NameDescription
O

Parameters

NameTypeDescription
otherwiseAsyncOptLazy<O>

Overrides

AsyncFastIteratorBase.fastNext

next

Returns a promise resolving to the next IteratorResult.

Definition

next(): Promise<IteratorResult<T>>;

Overrides

AsyncFastIterator.next, AsyncFastIteratorBase.next