Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/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/core/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>

Methods

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