pub fn wrap<T, V>(callback: T) -> Promise<T, V>where
T: FutureType<V>,
Expand description
Wrap a type that implements FutureType into a drop-safe promise
pub fn wrap<T, V>(callback: T) -> Promise<T, V>where
T: FutureType<V>,
Wrap a type that implements FutureType into a drop-safe promise