What happens when "assinging" methods?
In some places e.g. number_linked the following construct is used
Code:
node.onUpdate = someFunction
Which executes the someFunction if the node is changed (or some other condition depending on what method is "assiniged").
It looks like it is assinging and overriding an function for the node object. But since e.g. multiple number_linked work with the same databasenode it cannot be a simple override.
It behaves more like DB.addHandler.
Is this pattern a wrapper for DB.addHandler? If yes where does the handler get removed if the control is closed?