Re:Tokio 1.0 – async runtime for Rust
by brobinson on Wednesday December 23, 2020 @03:58PM
(#25522142)
The tokio tutorial is good, but it needs an example of spinning off multiple (2-3 or more) tasks which run forever. I ended up using spawn() multiple times and having the main thread just sleep in a loop and not using #[tokio::main] because I couldn't figure it out.
[ Parent
| on HN ]