cut 3.3.0
Loading...
Searching...
No Matches
comms.observer.Observer Class Reference

Public Member Functions

 has_listeners (self)
 returns True if anybody is listening to events from this attribute
 
 fire_event (self, event_type, event_value, listeners=None)
 sends an event to all listeners or a specific one
 

Detailed Description

  • method names changed to snake_case
  • added lock to access _listeners, as the class that inherits from this could execute methods from a separate thread.

The documentation for this class was generated from the following file: