@dxos/echo
    Preparing search index...

    Function update

    • Replace the string CRDT value at path with newText.

      For database-backed objects the change is applied as a minimal Automerge diff (preserving cursors, anchors, and merging cleanly with concurrent edits); for in-memory objects it is a plain assignment.

      Must be called inside Obj.update(obj, () => { ... }).

      Parameters

      Returns void

      O(text length) diff, so concurrent edits merge minimally.