Splice the string CRDT value at path by character index, mirroring Array.prototype.splice: remove deleteCount characters at start and insert insert. Returns the removed substring.
path
Array.prototype.splice
deleteCount
start
insert
Must be called inside Obj.update(obj, () => { ... }).
Obj.update(obj, () => { ... })
O(delete count + insert length) CRDT splice.
Splice the string CRDT value at
pathby character index, mirroringArray.prototype.splice: removedeleteCountcharacters atstartand insertinsert. Returns the removed substring.Must be called inside
Obj.update(obj, () => { ... }).