Expand description
Cooperative shutdown signal shared across threads. Clones observe the same
flag: any clone’s cancel() is visible to every other clone’s
is_cancelled(). Cancellation is one-way and sticky.
Structs§
- Shutdown
Token - Cloneable one-shot cancellation flag. The run loop polls
is_cancelledeach tick; signal handlers and debug servers callcancelto stop it.