Skip to main content

class AsyncOfIterator<T>

undocumented

Extends: AsyncFastIteratorBase<T>

Type parameters

NameDescription
Tundocumented

Properties

index

undocumented

Definition

index: number;

return

undocumented

Definition

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

Overrides

AsyncFastIteratorBase.return

values

undocumented

Definition

readonly values: ArrayNonEmpty<AsyncOptLazy<T>>;

Methods

fastNext

undocumented

Definition

fastNext<O>(otherwise?: AsyncOptLazy<O>): MaybePromise<T | 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