mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 20:22:11 -04:00
Port synapse.replication.tcp to async/await (#6666)
* Port synapse.replication.tcp to async/await * Newsfile * Correctly document type of on_<FOO> functions as async * Don't be overenthusiastic with the asyncing....
This commit is contained in:
parent
19a1aac48c
commit
48c3a96886
15 changed files with 80 additions and 105 deletions
|
@ -73,6 +73,6 @@ class TestReplicationClientHandler(object):
|
|||
def finished_connecting(self):
|
||||
pass
|
||||
|
||||
def on_rdata(self, stream_name, token, rows):
|
||||
async def on_rdata(self, stream_name, token, rows):
|
||||
for r in rows:
|
||||
self.received_rdata_rows.append((stream_name, token, r))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue