[−][src]Function task_compat::with_context
pub fn with_context<F, R>(f: F) -> R where
F: FnOnce(&mut Context) -> R,
Map a futures 0.1
notify to a std::task::Context
.
pub fn with_context<F, R>(f: F) -> R where
F: FnOnce(&mut Context) -> R,
Map a futures 0.1
notify to a std::task::Context
.