forked from MirrorHub/synapse
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.
|