From 8df8d1e15149822348924225348f0abd0b461041 Mon Sep 17 00:00:00 2001 From: Rotem Yaari Date: Tue, 17 Mar 2020 16:41:27 +0200 Subject: [PATCH] Server.md: Add line break --- content/docs/server.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/docs/server.md b/content/docs/server.md index ebe1df1..0791918 100644 --- a/content/docs/server.md +++ b/content/docs/server.md @@ -62,6 +62,7 @@ fn my_handler() -> impl Responder { "response" } ``` + 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 threads and thus don't block execution: