[][src]Function task_compat::with_notify

pub fn with_notify<F, R>(cx: &mut Context, f: F) -> R where
    F: FnOnce() -> R, 

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