Function capnp_rpc::new_promise_client [] [src]

pub fn new_promise_client<T, F>(client_promise: F) -> T where T: FromClientHook, F: Future<Item=Client, Error=Error>, F: 'static

Converts a promise for a client into a client that queues up any calls that arrive before the promise resolves.