Function capnp_rpc::new_promise_client
source · pub fn new_promise_client<T, F>(client_promise: F) -> Twhere
T: FromClientHook,
F: Future<Output = Result<Client, Error>> + 'static + Unpin,
Expand description
Converts a promise for a client into a client that queues up any calls that arrive before the promise resolves.