Automerge Repo - v2.6.0-alpha.2
    Preparing search index...
    • Create a new, blank SyncState

      When communicating with a peer for the first time use this to generate a new SyncState for them

      Parameters

      • Optionaloptions: { readOnly?: boolean }

        Optional configuration for the sync state

        • OptionalreadOnly?: boolean

          If true, incoming changes from the peer will not be applied to the document. Our changes are still sent to the peer.

      Returns Automerge.SyncState