mirror of
https://github.com/element-hq/synapse
synced 2024-07-15 05:54:06 +00:00
a50fb411b3
This will mainly be useful when dealing with module callbacks, which are all typed as returning `Awaitable`s instead of coroutines or `Deferred`s. Signed-off-by: Sean Quah <seanq@element.io>
2 lines
83 B
Plaintext
2 lines
83 B
Plaintext
Update `delay_cancellation` to accept any awaitable, rather than just `Deferred`s.
|