import { Channel } from "https://deno.land/x/async_channels@v1.0.0-alpha54/mod.ts";
filter applies fn
to each value in this
channel, and returns a new channel
that will only contain value for which fn
returned true
(or a promise that resolves to true
).
The returned channel will close after this
channel closes (or if the provided signal is triggered).
Parameters
optional
pipeOpts: ChannelPipeOptions