class documentation

class EventReactor: (source)

View In Hierarchy

Partial IReactorCore implementation with simple event-related methods.

Method __init__ Undocumented
Method addSystemEventTrigger Undocumented
Method callWhenRunning Undocumented
Method removeSystemEventTrigger Undocumented
Instance Variable triggers A list of pending system event triggers.
Instance Variable _running A bool indicating whether the reactor is pretending to have been started already or not.
def __init__(self, running): (source)

Undocumented

def addSystemEventTrigger(self, phase, event, trigger): (source)

Undocumented

def callWhenRunning(self, function): (source)

Undocumented

def removeSystemEventTrigger(self, handle): (source)

Undocumented

triggers: list = (source)

A list of pending system event triggers.

_running = (source)

A bool indicating whether the reactor is pretending to have been started already or not.