Module Container.Service

module type Sig = sig ... end
type t = Sihl__.Core_container.Service.t = {
lifecycle : lifecycle;
configuration : Configuration.t;
commands : Command.t list;
server : bool;
}
val commands : t -> Command.t list
val configuration : t -> Configuration.t
val create : ?⁠commands:Command.t list -> ?⁠configuration:Configuration.t -> ?⁠server:bool -> lifecycle -> t
val server : t -> bool
val start : t -> unit Lwt.t
val stop : t -> unit Lwt.t
val name : t -> string