We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae50f3f commit 99f148cCopy full SHA for 99f148c
1 file changed
Doc/library/asyncio-dev.rst
@@ -249,6 +249,7 @@ Output in debug mode::
249
raise Exception("not consumed")
250
Exception: not consumed
251
252
+
253
Asynchronous generators best practices
254
======================================
255
@@ -284,7 +285,6 @@ manager::
284
285
286
asyncio.run(func())
287
-
288
Only create a generator when a loop is already running
289
------------------------------------------------------
290
@@ -297,7 +297,6 @@ handles this situation and doing it best to call async generator-iterator's
297
Then it is recomended to create async generators only after the event loop
298
has already been created.
299
300
301
Avoid iterating and closing the same generator concurrently
302
-----------------------------------------------------------
303
0 commit comments