Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/stream/async-custom/async-fast-iterator-base.ts>AsyncZipAllWithItererator

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncZipAllWithItererator
import { AsyncZipAllWithItererator } from "https://deno.land/x/rimbu@1.0.2/stream/async-custom/async-fast-iterator-base.ts";

Constructors

new
AsyncZipAllWithItererator(
fillValue: AsyncOptLazy<F>,
iters: [K in keyof I]: AsyncStreamSource<I[K]>,
zipFun: (...values: [K in keyof I]: I[K] | F) => MaybePromise<R>,
asyncStreamSourceHelpers: AsyncStreamSourceHelpers,
)

Type Parameters

I extends readonly unknown[]
F
R

Properties

readonly
sources: AsyncFastIterator<any>[]
readonly
sourcesToClose: Set<AsyncFastIterator<any>>

Methods

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