name
(str): process name, will be used to create the messagebus messagetype "mycroft.{name}..."
bus
(MessageBusClient): connection to the Mycroft messagebus.
on_started
(callable): callback to execute when process is started
on_alive
(callable): callback to execute when minimum operation is reached.
on_ready
(callable): callback to execute when loading is 100 % complete.
on_stopping
(callable): callback to execute when shutdown of process starts.
on_error
(callable): callback to execute when an unrecoverable error renders the process unusable.ALIVE
, then it must also be STARTED
. Likewise, if a Process is READY
, it must also be ALIVE
and STARTED
.status.set_started()
status.set_error()
status.set_alive()
status.set_stopping()
status.set_ready()
mycroft.{service_name}.{is_status}
. For example, we can check if the Audio Service is ALIVE
by emitting:status
boolean in the data payload: