[][src]Function crossbeam_requests::channel

pub fn channel<Req, Res>() -> (Responder<Req, Res>, Requester<Req, Res>)

Create a Requester and a Responder with a channel between them

The Requester can be cloned to be able to do requests to the same Responder from multiple threads.