Summary
Summary
Chapter Key Takeaways
- Futures are poll-driven state machines executed by a runtime.
- Tokio provides a work-stealing multithreaded async runtime.
Pinprevents memory moves of self-referential generator frames.- Async code avoids thread exhaustion on high-concurrency I/O workloads.
- Dropping a future cancels it at its current
.await: race only cancel-safe operations inselect!andtimeout, and keep progress outside futures that may be dropped.