bi_channel

Function bi_channel 

Source
pub fn bi_channel<Request, Response>() -> (BiChannelClient<Request, Response>, BiChannelServer<Request, Response>)
Expand description

Create a bi-directional channel with a given request and response type.

This reduces the boilerplate required to implement patterns where you need to send data across a channel, but in both directions.