synapse/changelog.d/12468.misc
Sean Quah a50fb411b3
Update delay_cancellation to accept any awaitable (#12468)
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>
2022-04-22 18:20:06 +01:00

1 line
83 B
Text

Update `delay_cancellation` to accept any awaitable, rather than just `Deferred`s.