import { AsyncReducer } from "https://deno.land/x/rimbu@1.0.3/common/mod.ts";
const { last } = AsyncReducer;
Returns an AsyncReducer
that remembers the last input value.
type
{ <T>(): AsyncReducer<T, T | undefined>; <T, O>(otherwise: AsyncOptLazy<O>): AsyncReducer<T, T | O>; }