View Source Yex.Sync (y_ex v0.3.5)
Sync protocol.
Summary
Functions
Create a sync step 1 message based on the state of the current shared document.
Types
@type message() :: {:sync, sync_message()} | :query_awareness | {:awareness, message()} | {:auth, term()}
Functions
Create a sync step 1 message based on the state of the current shared document.
@spec read_sync_message(sync_message(), Yex.Doc.t(), term()) :: {:ok, term()} | {:error, term()}