commit 02d1936f7713d2cf10ace298cc6cf9d8644fb9ef
parent a74338c7f6c444f99718386bb2ec26deafcec041
Author: Joris Vink <joris@coders.se>
Date: Thu, 29 Nov 2018 14:38:40 +0100
better
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/api/python.md b/api/python.md
@@ -64,7 +64,7 @@ this worker process.
* [websocket\_handshake](#websockethandshake)
-* [Asynchronous functions](#koreasync)
+* [Asynchronous functions](#async)
# <a name="koremodule"></a>Kore
@@ -756,7 +756,7 @@ def ws_connect(req):
---
-# <a name="koreasync"></a>Async/await
+# <a name="async"></a>Async/await
Kore exposes several functions that can be awaited upon allowing you to
write concurrent page handlers without any callbacks.
@@ -1030,6 +1030,8 @@ d = await queue.pop()
For a more detailed example, see [this](https://git.kore.io/kore/file/examples/python-async/src/async_process.py) source file.
+Or see the [kore.proc](https://docs.kore.io/3.2.0/api/python.html#proc) description.
+
* [kill](#prockill)
* [reap](#procreap)
* [recv](#procrecv)