Skip to content
  1. API

NonObjectPropertyWatcher

Retrieved from ogma.schema.watchNodeNonObjectProperty() or ogma.schema.watchEdgeNonObjectProperty().

nonObjectPropertyWatcher.destroy()

Stops the watcher from being updated

nonObjectPropertyWatcher.getPath()

Returns the path of the data property being watched

Returns

  • Array<string>

nonObjectPropertyWatcher.getPropertyInfo()

Retrieve some information on the property being watched.

Returns

nonObjectPropertyWatcher.onUpdate(handler)

Triggers the specified function when the property is updated,

Arguments