Message413926
Could you just have a global task group that owns these long-running tasks? It could be embedded in a "toplevel" task that is created using asyncio.create_task() (which won't be deprecated). To shut down all long-running tasks at the end, just cancel that toplevel task. |
|
Date |
User |
Action |
Args |
2022-02-24 16:45:33 | gvanrossum | set | recipients:
+ gvanrossum, asvetlov, yselivanov, achimnol |
2022-02-24 16:45:33 | gvanrossum | set | messageid: <1645721133.11.0.0866445868528.issue46843@roundup.psfhosted.org> |
2022-02-24 16:45:33 | gvanrossum | link | issue46843 messages |
2022-02-24 16:45:33 | gvanrossum | create | |
|