Linear Types One-Pager| blog.yoshuawuyts.com
Pre-Pooping Your Pants With Rust| cglab.ca
A set of futures which may complete in any order.| docs.rs
Waits on multiple concurrent branches, returning when the first branch completes, cancelling the remaining branches.| docs.rs
Takes two closures and potentially runs them in parallel. It returns a pair of the results from those closures.| docs.rs
Spawns a new asynchronous task, returning a `JoinHandle` for it.| docs.rs
For just about as long as I’ve been working on async Rust, the topic of scoped tasks has come up. These are async tasks that borrow from their environment, and they would come in handy in a lot of situations. Last year the standard library stabilized thread::scope which allows synchronous threads to do this. You could imagine a similar API, but with async: asyncfn fanout(data: &Vec){task::scope(|s|{// Spawn subtasks to run in parallel.| Tyler Mandry
Creates a scope for spawning scoped threads.| doc.rust-lang.org