import { Reducer } from "https://deno.land/x/rimbu@1.0.2/common/mod.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>