import { AsyncReducer } from "https://deno.land/x/rimbu@0.12.3/mod.ts";
const { Base } = AsyncReducer;
A base class that can be used to easily create AsyncReducer
instances.
Methods
collectInput<I2>(collectFun: AsyncCollectFun<I2, I>): AsyncReducer<I2, O>
filterInput(pred: () => MaybePromise<boolean>): AsyncReducer<I, O>
sliceInput(from?, amount?: number): AsyncReducer<I, O>