Skip to main content

termination_requested

Function termination_requested 

Source
pub async fn termination_requested(
    manager: &Manager,
    task: TaskIdentifier,
) -> bool
Expand description

Whether the current task was asked to terminate or interrupt.

Signals are not consumed. Tasks without a signal wakeup must poll this at a bounded interval while blocked.