Struct promiser::promise::Promiser
[−]
[src]
pub struct Promiser<T: Send + 'static> { /* fields omitted */ }
Methods
impl<T: Send + 'static> Promiser<T>
[src]
fn deliver(&self, d: T) -> bool
fn wakeup(&self)
only call manually if you intend to destroy the promise