y-crdt/ypy

Empty updates

davidbrochart opened this issue · 0 comments

@Waidhoferj There is this code in your drawing example:

# Sometimes transactions don't write, which means updates are empty.
# We only care about updates with meaningful mutations.
if update != b'\x00\x00':
self.send_q.put_nowait(update)

Why are empty updates emitted? This creates issues here and there.