pub fn new_request<T>() -> (Tx<T>, Rx<T>)Expand description
Create a new request, consisting of a Tx<T> and an Rx<T>.
The Tx (transmitter) can be used to send a single message T to the Rx (receiver).
This is just a wrapper around a tokio::sync::oneshot channel.