tokio::spawn
Tokio is an asynchronous runtime for Rust. “It provides the building blocks needed for writing network applications.” – It’s pretty much the de-facto standard for Rust! Before we look at “spawn” let’s review what tokio is, how to use it, and look at what tasks are. tokio::main The #[tokio::main] function is a macro. It transforms […]