circuits.core.helpers module¶
- class circuits.core.helpers.FallBackGenerator(*args, **kwargs)¶
Bases:
BaseComponentInitializes x; see x.__class__.__doc__ for signature
- resume()¶
Implements the resume method as required from components that handle
GenerateEvents.
- class circuits.core.helpers.FallBackExceptionHandler(*args, **kwargs)¶
Bases:
BaseComponentIf there is no handler for error events in the component hierarchy, this component’s handler is added automatically. It simply prints the error information on stderr.
Initializes x; see x.__class__.__doc__ for signature
- class circuits.core.helpers.FallBackSignalHandler(*args, **kwargs)¶
Bases:
BaseComponentIf there is no handler for signal events in the component hierarchy, this component’s handler is added automatically. It simply terminates the system if the signal is SIGINT or SIGTERM.
Initializes x; see x.__class__.__doc__ for signature