This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients achimnol, asvetlov, gvanrossum, yselivanov
Date 2022-02-24.16:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645721133.11.0.0866445868528.issue46843@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2022-02-24 16:45:33gvanrossumsetrecipients: + gvanrossum, asvetlov, yselivanov, achimnol
2022-02-24 16:45:33gvanrossumsetmessageid: <1645721133.11.0.0866445868528.issue46843@roundup.psfhosted.org>
2022-02-24 16:45:33gvanrossumlinkissue46843 messages
2022-02-24 16:45:33gvanrossumcreate