def set_latency(self, latency):
        """Set client latency."""
        self._client['config']['latency'] = latency
        yield from self._server.client_latency(self.identifier, latency)
Set client latency.