[][src]Function eff::context::set_task_context

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

Set the thread-local task context used by the generator-backed effectful computation