mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 05:36:05 +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.
|