1
0
Files
synapse/synapse/util
Sean Quah c3ed401754 Add delay_cancellation utility function
`delay_cancellation` behaves like `stop_cancellation`, except it
delays `CancelledError`s until the original `Deferred` resolves.
This is handy for unifying cleanup paths and ensuring that uncancelled
coroutines don't use finished logcontexts.

Signed-off-by: Sean Quah <seanq@element.io>
2022-03-08 17:14:56 +00:00
..
2021-09-10 17:03:18 +01:00