Skip to main content

class AsyncZipWithIterator<I,R>

undocumented

Extends: AsyncFastIteratorBase<T>

Type parameters

NameConstraintsDescription
Ireadonly unknown[]undocumented
Rundocumented

Properties

asyncStreamSourceHelpers

undocumented

Definition

readonly asyncStreamSourceHelpers: AsyncStreamSourceHelpers;

iterables

undocumented

Definition

readonly iterables: {
    [K in keyof I]: AsyncStreamSource<I[K]>;
  };

return

undocumented

Definition

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

Overrides

AsyncFastIteratorBase.return

sources

undocumented

Definition

readonly sources: AsyncFastIterator<any>[];

sourcesToClose

undocumented

Definition

readonly sourcesToClose: Set<AsyncFastIterator<any>>;

zipFun

undocumented

Definition

readonly zipFun: (...values: I) => MaybePromise<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