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 ef71d25 commit 4796f85Copy full SHA for 4796f85
Doc/howto/a-conceptual-overview-of-asyncio.rst
@@ -292,6 +292,10 @@ This behavior of ``await coroutine`` can trip a lot of people up!
292
That example highlights how using only ``await coroutine`` could
293
unintentionally hog control from other tasks and effectively stall the event
294
loop.
295
+:func:`asyncio.run` can help you detect such occurences with the ``debug=True``
296
+flag.
297
+Among other things, that will log any coroutines which monopolize execution for
298
+100ms or longer.
299
300
The design intentionally trades off some conceptual clarity around usage of
301
``await`` for improved performance.
0 commit comments