One of the things people often complain about when doing Async Rust is cancellation. This has always been a bit confusing to me, because it seems to me that async cancellation should feel a lot like panics in practice, and people don’t complain about panics very often (though they do sometimes). This post is the start of a short series comparing panics and cancellation, seeking after the answer to the question “Why is async cancellation a pain point and what should we do about it?” This...| smallcultfollowing.com
In this clearly written guide you’ll find patterns for messaging, flow control, resource management, and concurrency, along with practical issues like test-friendly designs.| Manning Publications
An asynchronous `Mutex`-like type.| docs.rs
Waits on multiple concurrent branches, returning when the first branch completes, cancelling the remaining branches.| docs.rs
This article is about building actors with Tokio directly, without using any actor libraries such as Actix. This turns out to be rather easy to do, however there are some details you should be aware of:| ryhl.io