cobald.daemon package
- cobald.daemon.runtime = <cobald.daemon.runners.service.ServiceRunner object>
The runner invoked on daemon startup
- cobald.daemon.service(flavour: ModuleType) Callable[[type[S]], type[S]][source]
Mark a class as implementing a Service
Each Service class must have a
runmethod, which does not take any arguments. This method isadopt()ed after the daemon starts, unless the Service has been garbage collectedFor each service instance, its
ServiceUnitis available atservice_instance.__service_unit__.
Subpackages
- cobald.daemon.config package
- cobald.daemon.core package
- cobald.daemon.runners package
- Submodules
- cobald.daemon.runners.async_tools module
- cobald.daemon.runners.asyncio_runner module
- cobald.daemon.runners.asyncio_watcher module
- cobald.daemon.runners.base_runner module
- cobald.daemon.runners.guard module
- cobald.daemon.runners.meta_runner module
- cobald.daemon.runners.service module
- cobald.daemon.runners.thread_runner module
- cobald.daemon.runners.trio_runner module
- Submodules