← Back to DAGDA | Support | Source: https://mail.python.org/pipermail/python-list/2016-December/867815.html

Recipe request: asyncio "spin off coroutine"

Marko Rauhamaa marko at pacujo.net
Wed Dec 14 14:27:49 EST 2016


Chris Angelico <rosuav at gmail.com>:

>     asyncio.spin_off(parallel()) # ???
>
> [...]
>
> What code should go on the "???" line to accomplish this?

asyncio.ensure_future(parallel())


Marko



More information about the Python-list mailing list