Sihl.ContainerSourceA module to manage the service container and service lifecycles.
The service container knows how to start services in the right order by respecting the defined dependencies. Use it to implement your own services.
Every service has a lifecycle, meaning it can be started and stopped. *
A service has a start and stop function and a lifecycle. *
start_services services starts a list of services. The order does not matter as the services are started in the order of their dependencies. (No service is started before its dependency)
stop_services ctx services stops a list of services with a context ctx. The order does not matter as the services are stopped in the order of their dependencies. (No service is stopped after its dependency)