Entradas

Ejemplo de cómo usar actix-web 1.0 con async/await

Vía @3Hren.

https://github.com/3Hren/actix-web-async-await/blob/master/src/main.rs

Explained: How does async work in Rust?

Asynchronous programming is a concept which allows not blocking the program workflow when waiting for the results of certain actions. So you can open a large file or query a database, but your program will continue processing each line afterwards.