Skip to main content
Module

x/rimbu/stream/mod.ts>AsyncReducer.Instance

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface AsyncReducer.Instance
import { type AsyncReducer } from "https://deno.land/x/rimbu@1.1.0/stream/mod.ts";
const { Instance } = AsyncReducer;

Methods

getter
halted(): boolean
getter
index(): number
next(value: I): MaybePromise<void>
getOutput(): MaybePromise<O>
onClose(err?: unknown): Promise<void>