in support/gym_remote/bridge.py [0:0]
def send(self):
content = {}
for name, channel in self._channels.items():
if channel.dirty:
content[name] = channel.serialize()
self._try_send('update', content)