SignalHandler#

class protopipe.pipeline.SignalHandler[source]#

Bases: object

handles ctrl+c signals; set up via signal_handler = SignalHandler() `signal.signal(signal.SIGINT, signal_handler) # or for two step interupt: signal.signal(signal.SIGINT, signal_handler.stop_drawing)

Methods Summary

__call__(signal, frame)

Call self as a function.

stop_drawing(signal, frame)

Methods Documentation

__call__(signal, frame)[source]#

Call self as a function.

stop_drawing(signal, frame)[source]#