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>AsyncMapPureIterator

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
class AsyncMapPureIterator
extends AsyncFastIteratorBase<T2>
import { AsyncMapPureIterator } from "https://deno.land/x/rimbu@1.2.1/stream/async-custom/async-fast-iterator-base.ts";

Constructors

new
AsyncMapPureIterator(
source: AsyncFastIterator<T>,
mapFun: (value: T, ...args: A) => MaybePromise<T2>,
args: A,
)

Type Parameters

T
A extends readonly unknown[]
T2

Methods

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