Field Notes
    Preparing search index...

    Class SyncClient

    Index
    • Parameters

      • handler: (from: string, data: unknown) => void

      Returns () => void

    • Publishes a local layer definition edit: stamps the next version with this client as editor, records it in the ledger, and broadcasts it. Publishing never touches element or undo state; the host decides when a local layer change is worth broadcasting. Throws when layer sync is not enabled or the definition is malformed.

      Parameters

      Returns void