|Home > Iris APIs > Events and trace API > Event callback functions|
Event callback functions are called for each event in an event stream that was previously created and enabled by
The function name
ec_FOO() is used as a placeholder for the real callback
function name. The real name is specified with the
eventStream_create() call. If the
argument was not specified, then the function name is
ec_INST for the
INST event source.
syncEc is not specified or False,
which is usually the case, the callback function is called
asynchronously to the thread causing the event. If
syncEc is True, the callback is
called synchronously. This blocks the calling thread from executing
in the target instance.