An instance of this object is returned when you add a custom event handler using pdg.Node.addEventHandler() or pdg.GraphContext.addEventHandler(). If you want to remove the handler later, you can this object to pdg.Node.removeEventHandler() or pdg.GraphContext.removeEventHandler(). Alternativele, you can remove the handler from any event emitter its attached to by calling pdg.EventHandler.removeAllEventEmitters.
Methods
removeFromAllEmitters()
Removes the event handle from all event sources that it is currently handling events from.
emitters
: list
of pdg.EventEmitter
Property
The list of event emitters this handler receives events. The emitters can be instances of the pdg.Node, pdg.GraphContext, pdg.WorkItem or pdg.Scheduler class.