synapse/replication/tcp/client.py
def await_sync(self, data):
        """Returns a deferred that is resolved when we receive a SYNC command
        with given data.

        Used by tests.
        """
        return self.awaiting_syncs.setdefault(data, defer.Deferred())
Returns a deferred that is resolved when we receive a SYNC command
        with given data.

        Used by tests.
        
Returns a deferred that is resolved when we receive a SYNC command
with given data.

Used by tests.
Returns a deferred that is resolved when we receive a SYNC command with given data . Used by tests .
def await_sync(self, data):
        return self.awaiting_syncs.setdefault(data, defer.Deferred())
def await_sync ( self , data ) : return self . awaiting_syncs . setdefault ( data , defer . Deferred ( ) )
Returns a deferred that is resolved when we receive a SYNC command
with given data.
Returns a deferred that is resolved when we receive a SYNC command with given data .
"""Returns a deferred that is resolved when we receive a SYNC command
        with given data.

        Used by tests.
        """
self
data