Skip to main content
Module

x/rimbu/mod.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/mod.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>

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>