Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Constructors

new
AsyncZipWithIterator(iterables: [K in keyof I]: AsyncStreamSource<I[K]>, zipFun: (...values: I) => MaybePromise<R>)

Type Parameters

I extends readonly unknown[]
R

Properties

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

Methods

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