Skip to main content

Module protocol

Module protocol 

Source
Expand description

Wire types for the live replay protocol (pi-workflows.replay.v1), plus the JSON Patch subset (with the append extension op) used for view synchronization. See docs/live-replay-protocol.md.

Enums§

ClientMessage
PatchOp
RFC 6902 ops we use, plus append (add a batch of items to an array).
ServerMessage

Constants§

PROTOCOL_ID

Functions§

apply_patch
Apply a patch to a view document in place. Returns an error message on the first op that does not apply (the caller should resnapshot).