最終更新:2021-08-13 (金) 20:53:53 (993d)
asyncio.create_task
Top / asyncio.create_task
asyncio.create_task(coro, *, name=None)
https://docs.python.org/ja/3/library/asyncio-task.html#asyncio.create_task
動作
- The task is executed in the loop returned by asyncio.get_running_loop()
メモ
- この関数はPython 3.7で追加 されました。Python 3.7より前では、代わりに低レベルのasyncio.ensure_future() 関数が使えます: