Skip to main content

cancellation_flag

Function cancellation_flag 

Source
pub fn cancellation_flag() -> &'static AtomicBool
Expand description

Shared cancellation flag (SIGINT) for tests and advanced integration.

Prefer should_stop / is_cancelled in product paths. Writing the flag is intended for tests and cooperative library callers.