The data that was changed and is pointed to by ptr
The JSON pointer string indicating where in the root object the change occurred. In the case of callbacks
registered on "/", ptr will be an array of JSON pointers into the data field represents the root object.
Optional removed: boolean(optional) A boolean indicating whether the data was removed. true for delete, false for set.
Optional op: Op(optional) A string describing the operation. Can be "set", "delete", or "forceSetInternal".
Generated using TypeDoc
A callback function that is triggered when data changes.
This callback supports both the legacy
removedboolean parameter and the newopparameter to avoid breaking existing clients while allowing for more descriptive operations.removedis provided, it indicates whether the data was removed (truefor delete,falsefor set).opis provided, it specifies the operation performed on the data:"set": The data was set or updated."delete": The data was deleted."forceSetInternal": A forced internal set operation was performed.Both
removedandopare optional. If both are provided,optakes precedence in interpreting the operation.