Glossary: Rust Beyond the Basics
JoinHandle
Also written: join, handle.join()
What `thread::spawn` or `tokio::spawn` returns. Its `join` (or awaiting it, for tasks) waits for the work to finish and gives back a `Result` with the return value.
Glossary: Rust Beyond the Basics
Also written: join, handle.join()
What `thread::spawn` or `tokio::spawn` returns. Its `join` (or awaiting it, for tasks) waits for the work to finish and gives back a `Result` with the return value.