Function may::coroutine::current

source ·
pub fn current() -> Coroutine
Expand description

Gets a handle to the coroutine that invokes it. it will panic if you call it in a thread context