1
0
mirror of https://github.com/actix/actix-website synced 2025-08-31 08:57:01 +02:00

Merge pull request #166 from vmalloc/formatting

Server.md: Add line break
This commit is contained in:
Rob Ede
2020-03-17 15:09:29 +00:00
committed by GitHub

View File

@@ -62,6 +62,7 @@ fn my_handler() -> impl Responder {
"response" "response"
} }
``` ```
For this reason, any long, non-cpu-bound operation (e.g. I/O, database operations, etc.) should be For this reason, any long, non-cpu-bound operation (e.g. I/O, database operations, etc.) should be
expressed as futures or asynchronous functions. Async handlers get executed concurrently by worker expressed as futures or asynchronous functions. Async handlers get executed concurrently by worker
threads and thus don't block execution: threads and thus don't block execution: