A list
containing 6 functions:
add()
register a callback with this manager, giving the
function, an optional 5-th argument, an optional name
by which the callback is stored in the list,
and a register
argument which controls whether
the evaluate
function is registered with the internal
C-level dispatch mechanism if necessary.
remove()
remove an element from the manager's collection
of callbacks, either by name or position/index.
evaluate()
the ‘real’ callback function that is registered
with the C-level dispatch mechanism and which invokes each of the
R-level callbacks within this manager's control.
suspend()
a function to set the suspend state
of the manager. If it is suspended, none of the callbacks will be
invoked when a task is completed. One sets the state by specifying
a logical value for the status
argument.
register()
a function to register the evaluate
function with the internal C-level dispatch mechanism. This is
done automatically by the add
function, but can be called
manually.
callbacks()
returns the list of callbacks being maintained
by this manager.