From: Alec Gillis Date: Wed, 28 Aug 2024 23:33:37 +0000 (-0700) Subject: 📝 Update comma in `docs/en/docs/async.md` (#12062) X-Git-Tag: 0.112.3~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cabed9efb6a6b615f3bf45e9e523ff290f252f0f;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update comma in `docs/en/docs/async.md` (#12062) Co-authored-by: Alec Gillis Co-authored-by: Sofie Van Landeghem --- diff --git a/docs/en/docs/async.md b/docs/en/docs/async.md index 752a5c247d..63bd8ca685 100644 --- a/docs/en/docs/async.md +++ b/docs/en/docs/async.md @@ -387,7 +387,7 @@ In previous versions of NodeJS / Browser JavaScript, you would have used "callba ## Coroutines -**Coroutine** is just the very fancy term for the thing returned by an `async def` function. Python knows that it is something like a function that it can start and that it will end at some point, but that it might be paused ⏸ internally too, whenever there is an `await` inside of it. +**Coroutine** is just the very fancy term for the thing returned by an `async def` function. Python knows that it is something like a function, that it can start and that it will end at some point, but that it might be paused ⏸ internally too, whenever there is an `await` inside of it. But all this functionality of using asynchronous code with `async` and `await` is many times summarized as using "coroutines". It is comparable to the main key feature of Go, the "Goroutines".