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