import { AsyncTransformer } from "https://deno.land/x/rimbu@1.0.3/core/main/exports.ts";
const { distinctPrevious } = AsyncTransformer;
Returns an async transformer that returns only those elements from the input that are different to previous element
according to the optionally given eq
function.