import { AsyncReducer } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { from } = AsyncReducer;
Returns an AsyncReducer
from a given Reducer
or AsyncReducer
instance.
Parameters
reducer: AsyncReducer.Accept<I, O>
- the input reducer to convert