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