package archi-lwt

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!_, !_, !_) components =
  1. | [] : ('ctx, 'ty, 'ty) components
  2. | :: : (string * ('ctx0, 'a) Component.t) * ('ctx0, 'b, 'ty0) components -> ('ctx0, 'a -> 'b, 'ty0) components
type ('ctx, _, _) t
val make : ('ctx, 'args, unit) components -> ('ctx, unit, [ `stopped ]) t
val make_reusable : lift:'args -> ('ctx, 'args, 'ty) components -> ('ctx, 'ty, [ `stopped ]) t
val start : 'ctx -> ('ctx, 'ty, [ `stopped ]) t -> (('ctx, 'ty, [ `started ]) t, [ `Cycle_found | `Msg of string ]) Stdlib.result Io.t
val stop : ('ctx, 'ty, [ `started ]) t -> (('ctx, 'ty, [ `stopped ]) t, [ `Cycle_found | `Msg of string ]) Stdlib.result Io.t
val get : ('ctx, 'ty, [ `started ]) t -> 'ty
OCaml

Innovation. Community. Security.