Skip to main content

class FromAsyncIterator<T>

undocumented

Implements: AsyncFastIterator<T>

Type parameters

NameDescription
Tundocumented

Properties

return

undocumented

Definition

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

source

undocumented

Definition

readonly source: AsyncIterator<T>;

Methods

fastNext

undocumented

Definition

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

Type parameters

NameDescription
O

Parameters

NameTypeDescription
otherwiseAsyncOptLazy<O>

Overrides

AsyncFastIterator.fastNext

next

undocumented

Definition

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

Overrides

AsyncFastIterator.next