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

x/rimbu/stream/async/index.ts>AsyncReducer.InstanceImpl

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class AsyncReducer.InstanceImpl
implements [AsyncReducer.Instance]<I, O>
import { AsyncReducer } from "https://deno.land/x/rimbu@1.1.0/stream/async/index.ts";
const { InstanceImpl } = AsyncReducer;

Constructors

new
InstanceImpl(reducer: AsyncReducer.Impl<I, O, S>)

Properties

readonly
halted: boolean
readonly
index: number
next: (value: I) => Promise<void>

Methods

getOutput(): Promise<O>
onClose(err?: unknown): Promise<void>