import { takeWhile } from "https://deno.land/x/stream_observables@v1.3/transforms/take-while.ts";
Returns a Transform
that emits items from the original observable until
f
returns false.
Parameters
f: (v: T) => boolean
Function called with each emitted item. If it returns true
, the
item is emitted. Otherwise the item is discarded and no more items are
emitted.