import { AsyncReducer } from "https://deno.land/x/rimbu@1.0.3/common/mod.ts";
const { combineObj } = AsyncReducer;
Returns an AsyncReducer
that combines multiple input reducers
by providing input values to all of them and collecting the outputs in the shape of the given object.
Parameters
reducerObj: readonly [K in keyof R]: AsyncReducer<T, R[K]> & Record<string, AsyncReducer<T, unknown>>
- an object of keys, and reducers corresponding to those keys