Skip to main content

current_controlled_termination_token

Function current_controlled_termination_token 

Source
pub fn current_controlled_termination_token() -> Option<ControlledTerminationToken>
Expand description

Snapshot the request’s controlled-termination token. Spawned backend tasks must clone this explicitly because Tokio task-local values are not inherited.