summaryrefslogtreecommitdiff
path: root/doc/using.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/using.rst')
-rw-r--r--doc/using.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/using.rst b/doc/using.rst
index c26f11b..be1edb2 100644
--- a/doc/using.rst
+++ b/doc/using.rst
@@ -93,6 +93,9 @@ aiogreen specific functions:
Wait for a future (or a task) from a greenthread.
Return the result or raise the exception of the future.
+ The function must not be called from the greenthread of the aiogreen event
+ loop.
+
Example of greenthread waiting for a trollius task. The ``progress()``
callback is called regulary to see that the event loop in not blocked::