import { AsyncReducer } from "https://deno.land/x/rimbu@1.2.1/stream/async/async-reducer.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