commit 164158d0497baca12a28752e9e969f2f3fa2e737
parent e2f1183de357f5f4ecb296ca5da4617a1b22a032
Author: Joris Vink <joris@coders.se>
Date: Thu, 29 Nov 2018 15:46:58 +0100
add socketclose
Diffstat:
api/python.md | 19 +++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/api/python.md b/api/python.md
@@ -1020,6 +1020,25 @@ sock.close()
---
+### sock.close {##socketclose}
+
+### Synopsis
+
+```python
+sock.close()
+```
+
+### Description
+
+Closes the underlying socket. If the socket was created from an
+underlying Python socket, it is not closed.
+
+### Returns
+
+Nothing.
+
+---
+
## Locks {#asynclock}
Kore provides a locking mechanism where multiple coroutines can wait