package sihl

  1. Overview
  2. Docs
module type Sig = sig ... end
type t = {
  1. lifecycle : lifecycle;
  2. configuration : Configuration.t;
  3. commands : Command.t list;
  4. 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