Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 40
What happens if an async task calls std::thread::sleep(Duration::from_secs(5))?
A
It blocks the runtime worker thread, stalling every other task scheduled on it
B
It panics
C
Only that task pauses
D
Tokio converts it to tokio::time::sleep