Function incrementalProtocol

Source
incrementalProtocol(): Protocol<UpdateItem>

Send only what changed to the local yjs document on every webxdc autosave tick.

Smaller payloads, but a dropped message desynchronizes peers permanently.

This protocol is risky to use in production, but is helpful to shape the API and can be used in tests.