Function with_notify

Source
pub fn with_notify<F, R>(cx: &mut Context<'_>, f: F) -> R
where F: FnOnce() -> R,
Expand description

Map a std::task::Context into the proper context for futures 0.1.