[][src]Function eff::context::poll_with_task_context

pub fn poll_with_task_context<C: Effectful>(
    comp: Pin<&mut C>
) -> Poll<C::Output, C::Effect>

Poll the given computation with the thread-local task context

Panics

Panics if the thread-local task is not set