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 /changelog.d/12145.misc | |
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 'changelog.d/12145.misc')
0 files changed, 0 insertions, 0 deletions