
Concurrency
Timeouts in Tokio and Why a Timeout Does Not Stop the Work
tokio::time::timeout drops the future when time runs out, which is not the same as stopping the work behind it. Learn what actually gets cancelled.
8 min read
Tag
1 post

tokio::time::timeout drops the future when time runs out, which is not the same as stopping the work behind it. Learn what actually gets cancelled.