| Inheritance | 
 | 
This is the base class for classes that are able to emit events to an event handler. pdg.Node, pdg.GraphContext, pdg.WorkItem and pdg.Scheduler are subclasses of this class.
Methods ¶
addEventHandler(handler, filter=pdg.EventType.All, pass_handler=False)
  → pdg.PyEventHandler
        
Adds an event handler to the emitter, with a value of the type of event to receive.  The handler should be a callable that accepts one argument of type pdg.Event.
If pass_handler is True, the handler itself is passed as the first argument to
    the function, otherwise only the event object is passed to the function.
addEventHandler(handler, event_types:
 pdg.EventType, pass_handler=False)
  → pdg.PyEventHandler
        
Adds an event handler to the emitter, with a list of the types of events to receive.  The handler should be a callable that accepts one argument of type pdg.Event.
If pass_handler is True, the handler itself is passed as the first argument to
    the function, otherwise only the event object is passed to the function.
hasEventHandler(handler)
  → bool
        
Returns True if the event emitter already has an event handler that uses the handler function or callback object.
removeEventHandler(handler)
        
Removes an event handler from the emitter.
removeAllEventHandlers()
        
Removes all event handlers from the emitter.
eventHandlers
  → list
 of pdg.EventHandler
        
Property
Returns the list of all active event handles for the emitter.
supportedEventTypes
  → list
 of `pdg.EventType
        
Property
The list of event types that this event emitter may produce when PDG is cooking