1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01: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
commit a56649a687
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: