Change callback for a sub-handle's change(). Mutate primitives by
returning a new value; mutate objects and arrays in place. Strings
receive a MutableText wrapper exposing CRDT-safe splice and
updateText methods.
Distinct from Automerge.ChangeFn (which is unscoped and operates on
the whole document). Re-exported from the package as SubChangeFn.
This API is experimental and may change in future versions.
Change callback for a sub-handle's
change(). Mutate primitives by returning a new value; mutate objects and arrays in place. Strings receive a MutableText wrapper exposing CRDT-safespliceandupdateTextmethods.Distinct from
Automerge.ChangeFn(which is unscoped and operates on the whole document). Re-exported from the package asSubChangeFn.This API is experimental and may change in future versions.