Function pawawwewism::promise

source ·
pub fn promise<T>() -> (Promise<T>, PromiseHandle<T>)
Expand description

Creates a connected pair of Promise and PromiseHandle.