Skip to main content

class AsyncRepeatIterator<T>

undocumented

Extends: AsyncFastIteratorBase<T>

Type parameters

NameDescription
Tundocumented

Properties

amount

undocumented

Definition

readonly amount?: number | undefined;

isEmpty

undocumented

Definition

isEmpty: boolean;

iterator

undocumented

Definition

iterator: AsyncFastIterator<T>;

remain

undocumented

Definition

remain: number | undefined;

return

undocumented

Definition

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

Overrides

AsyncFastIteratorBase.return

source

undocumented

Definition

readonly source: AsyncStream<T>;

Methods

fastNext

undocumented

Definition

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