Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
What is a common way to implement graceful shutdown across many Tokio tasks?
A
Drop the runtime and hope tasks finish
B
Kill threads with signals
C
Call std::process::exit immediately
D
A CancellationToken (tokio-util) or watch channel that tasks select! on, plus a JoinSet/TaskTracker to await their completion