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.
Latest
class AsyncZipWithIterator
Re-export
import { AsyncZipWithIterator } from "https://deno.land/x/rimbu@1.2.1/stream/async-custom/index.ts";

Constructors

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

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>