pub fn duplex<TSink, TStream>(
    sink: TSink,
    stream: TStream
) -> (Duplex<TSink, TStream>, RpcChannel)
Expand description

Creates a new Duplex, along with a channel to communicate