msa.builtins.command package

Submodules module



A command event handled by QuitHandler, shuts down msa

msa.builtins.command.handlers module

class msa.builtins.command.handlers.QuitHandler(loop:, event_queue: asyncio.queues.Queue, logger: logging.Logger, config: Optional[Dict[KT, VT]] = None)[source]

Bases: msa.core.event_handler.EventHandler

Checks for QuitCommnadEvents tells the supervisor to quit upon finding one


An abstract method which must be overwritten. Once the system is started, the handle method will be called repeatedly until the system shuts down. The handler must be non-blocking.


An optional initialization hook, may be used for executing setup code before all handlers have benn fully started.

Module contents