[−][src]Function kompact::prelude::kpromise
pub fn kpromise<T: Send + Sized>() -> (Promise<T>, Future<T>)
Produces a new Promise
/Future
pair.
Note
This API is considered temporary and will eventually be replaced with Rust's async facilities.