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

x/rimbu/stream/async-custom/index.ts>AsyncZipWithIterator

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncZipWithIterator
Re-export
import { AsyncZipWithIterator } from "https://deno.land/x/rimbu@0.13.5/stream/async-custom/index.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>