Function bones_framework::utils::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.