@automerge/automerge - v3.2.6
    Preparing search index...

    Function initSyncState

    • 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 SyncState