Glossary: Rust Beyond the Basics
task
Also written: tasks, tokio::spawn
A future that the runtime runs on its own, like a lightweight thread, started with `tokio::spawn`. Awaiting its `JoinHandle` gives its result.
Glossary: Rust Beyond the Basics
Also written: tasks, tokio::spawn
A future that the runtime runs on its own, like a lightweight thread, started with `tokio::spawn`. Awaiting its `JoinHandle` gives its result.