mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03: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>
1 line
83 B
Text
1 line
83 B
Text
Update `delay_cancellation` to accept any awaitable, rather than just `Deferred`s.
|