Callback Functions¶
Certain objects support some or all of the Callback
functions listed below.
Callback Functions allow you to install new callbacks on supported objects by simply doing, for example
>>> Node('democluster').onShutdown.new(...)
rather than having to do
>>> Cluster().callbacks.new(..., event='shutdown', node='democluster', ...)
- Callback events can be Global or Local:
- Global events trigger callbacks on all Nodes on which the callback is installed
- Local events trigger callbacks on only the nodes on which the events occured