diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-03-14 17:52:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 17:52:15 +0000 |
commit | 90b2327066d2343faa86c464a182b6f3c4422ecd (patch) | |
tree | 013f856afd16eda88efcf00415e5ad2024b266f2 /synapse/util/retryutils.py | |
parent | Deprecate the groups/communities endpoints and add an experimental configurat... (diff) | |
download | synapse-90b2327066d2343faa86c464a182b6f3c4422ecd.tar.xz |
Add `delay_cancellation` utility function (#12180)
`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>
Diffstat (limited to 'synapse/util/retryutils.py')
0 files changed, 0 insertions, 0 deletions