@cached
@cachedList
`@cached` and `@cachedList` must wait until the wrapped method has completed before raising `CancelledError`s, otherwise the wrapped method will continue running in the background with a logging context that has been marked as finished.
synapse._scripts
PushRuleEvaluator
Filter
HomeServer.get_datastore()
ReadWriteLock
ParamSpec
synapse.logging.context
events
StateGroupStorage
StateHandler
knock->leave
synapse/storage/databases/main