@dxos/echo
    Preparing search index...

    Function update

    • Perform mutations on a Type.Type within a change context.

      The callback receives a Mutable view of the type — direct mutation of a Type.Type outside Type.update throws at runtime, mirroring Obj.update. Delegates to the same automerge-transaction primitive Obj.update(obj, cb) uses.

      Parameters

      Returns void

      Synchronous; costs the mutations made in the callback plus one batched notification.