import { buffer } from "https://deno.land/x/stream_observables@v1.3/mod.ts";
Collects items from the original observable into buffers until the notifier emits. If no items have been buffered since the last time the notifier emitted, nothing will be emitted. Closing the emitter will emit the remaining buffer.
Parameters
notifier: Observable<unknown>
Observable that emits when the buffer should be emitted.