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