Message384503
To handle destruction of resources especially during exceptions, it would be nice if there were some way to provide coroutines/tasks that run at the termination or closure of an event loop. There are a lot of api options here. Maybe a simple one would be to have close() call a run_until_closed() function that starts all of these and steps the loop to wait for them, before closing, and provide run_close() functions to queue them for delay. |
|
Date |
User |
Action |
Args |
2021-01-06 13:56:08 | xloem | set | recipients:
+ xloem, asvetlov, yselivanov |
2021-01-06 13:56:08 | xloem | set | messageid: <1609941368.33.0.950412728581.issue42838@roundup.psfhosted.org> |
2021-01-06 13:56:08 | xloem | link | issue42838 messages |
2021-01-06 13:56:08 | xloem | create | |
|