Module Sihl__.Core_service

module type Sig = sig ... end
type t = {
lifecycle : Sihl__.Core_lifecycle.lifecycle;
configuration : Sihl__.Core_configuration.t;
commands : Sihl__.Core_command.t list;
server : bool;
}
val commands : t -> Sihl__.Core_command.t list
val configuration : t -> Sihl__.Core_configuration.t
val create : ?⁠commands:Sihl__.Core_command.t list -> ?⁠configuration:Sihl__.Core_configuration.t -> ?⁠server:bool -> Sihl__.Core_lifecycle.lifecycle -> t
val server : t -> bool
val start : t -> unit Lwt.t
val stop : t -> unit Lwt.t
val id : t -> int
val name : t -> string
val start_services : t list -> Sihl__.Core_lifecycle.lifecycle list Lwt.t
val stop_services : t list -> unit Lwt.t