import { Reducer } from "https://deno.land/x/rimbu@0.13.1/core/main/index.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>