Skip to main content

class AsyncTransformerFastIterator<T,R>

undocumented

Extends: AsyncFastIteratorBase<T>

Type parameters

NameDescription
Tundocumented
Rundocumented

Properties

return

undocumented

Definition

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

Overrides

AsyncFastIteratorBase.return

sourceIterator

undocumented

Definition

readonly sourceIterator: AsyncFastIterator<T>;

transformer

undocumented

Definition

readonly transformer: AsyncTransformer.Accept<T, R>;

Methods

fastNext

undocumented

Definition

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