embassy-executor

Crates

git

Versions

cortex-m

Flavors

Skip to main content

try_task_from_waker

Function try_task_from_waker 

Source
pub fn try_task_from_waker(waker: &Waker) -> Option<TaskRef>
Expand description

Get the task associated with this waker, if it belongs to the Embassy executor.