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

    Function applyChanges

    • Apply changes received from another document

      doc will be updated to reflect the changes. If there are changes which we do not have dependencies for yet those will be stored in the document and applied when the depended on changes arrive.

      You can use the ApplyOptions to pass a patchcallback which will be informed of any changes which occur as a result of applying the changes

      Type Parameters

      • T

      Parameters

      Returns [Doc<T>]