channel

Function channel 

Source
pub fn channel<T>() -> (Resolve<T>, Promise<T>)
Expand description

Creates a new promise and resolver pair.