Message414637
I have released the new version of aiotools with rewritten TaskGroup and PersistentTaskGroup.
https://aiotools.readthedocs.io/en/latest/aiotools.taskgroup.html
aiotools.TaskGroup has small additions to asyncio.TaskGroup: a naming API and `current_taskgroup` context variable.
aiotools.PersistentTaskGroup is what I've described here, highlighting both async-with usage and long-lived object usage and `all_ptaskgroups()` classmethod for the monitoring purpose except the two-phase graceful shutdown (future TODO). |
|
Date |
User |
Action |
Args |
2022-03-07 05:40:00 | achimnol | set | recipients:
+ achimnol, gvanrossum, asvetlov, yselivanov, tinchester |
2022-03-07 05:40:00 | achimnol | set | messageid: <1646631600.92.0.835167303273.issue46843@roundup.psfhosted.org> |
2022-03-07 05:40:00 | achimnol | link | issue46843 messages |
2022-03-07 05:40:00 | achimnol | create | |
|