import { Channel } from "https://deno.land/x/async_channels@v1.0.0-alpha54/channel.ts";
duplicate creates multiple channels (determined by n
), and consumes this
channel.
The consumed values are then sent to all channels
Parameters
optional
pipeOpts: ChannelDuplicateOptions