Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncMapIterator
extends AsyncFastIteratorBase<T2>
Re-export
import { AsyncMapIterator } from "https://deno.land/x/rimbu@1.1.0/stream/async-custom/index.ts";

Constructors

new
AsyncMapIterator(source: AsyncFastIterator<T>, mapFun: (value: T, index: number) => MaybePromise<T2>)

Properties

readonly
state

Methods

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