on-delete

A delete event will be pushed as soon as a thing which you are watching, is removed from ThingsDB.

If this event is not received when expected, there might exist circular references to the removed thing. In this case you have to wait until garbage collection has cleaned the thing from ThingsDB. This is done when the node is in away mode.

Example watch delete event in JSON format:

{
    "#": 42
}