[New-bugs-announce] [issue40844] Alternate ways of running coroutines

Matthew Francis report at bugs.python.org
Tue Jun 2 13:20:12 EDT 2020


New submission from Matthew Francis <4576francis at gmail.com>:

Currently, using await inside a coroutine will block inside the coroutine.  This behavior would usually be fine, but for some usecases a way to nonblockingly run coroutines without creating a Task could be useful, because tasks don't allow for a callback.  I'm suggesting a method on coroutines that runs them without blocking, and will run a callback when it's complete.

----------
components: asyncio
messages: 370614
nosy: asvetlov, matthewfrancis, yselivanov
priority: normal
severity: normal
status: open
title: Alternate ways of running coroutines
type: enhancement
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40844>
_______________________________________


More information about the New-bugs-announce mailing list