mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 22:54:11 -04:00
Convert events worker database to async/await. (#8071)
This commit is contained in:
parent
acfb7c3b5d
commit
f40645e60b
12 changed files with 106 additions and 97 deletions
|
@ -641,7 +641,7 @@ class StateResolutionStore(object):
|
|||
allow_rejected (bool): If True return rejected events.
|
||||
|
||||
Returns:
|
||||
Deferred[dict[str, FrozenEvent]]: Dict from event_id to event.
|
||||
Awaitable[dict[str, FrozenEvent]]: Dict from event_id to event.
|
||||
"""
|
||||
|
||||
return self.store.get_events(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue