import { AsyncReducer } from "https://deno.land/x/rimbu@0.13.1/mod.ts";
const { combineArr } = AsyncReducer;
Returns an AsyncReducer
that combines multiple input reducers
by providing input values to all of them and collecting the outputs in an array.
Parameters
...reducers: [K in keyof R]: AsyncReducer<T, R[K]> & AsyncReducer<T, unknown>[]
- 2 or more reducers to combine