import { AsyncReducer } from "https://deno.land/x/rimbu@1.0.2/core/mod.ts";
const { toArray } = AsyncReducer;
Returns an AsyncReducer
that collects received input values in an array, and returns a copy of that array as an output value when requested.
Returns
AsyncReducer<T, T[]>