[][src]Function jsonrpc_core_client::transports::duplex::duplex

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

Creates a new Duplex, along with a channel to communicate