archi-lwt
Lwt runtime for Archi, a library for managing the lifecycle of stateful components in OCaml
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type (_, _, _) components =
| [] : ( 'ctx, 'ty, 'ty ) components |
| :: : (string * ( 'ctx, 'a ) Component.t)
* ( 'ctx, 'b, 'ty ) components -> ( 'ctx, 'a -> 'b, 'ty ) components |
val make : ( 'ctx, 'args, unit ) components -> ( 'ctx, unit, [ `stopped ] ) t
val make_reusable :
lift:'args ->
( 'ctx, 'args, 'ty ) components ->
( 'ctx, 'ty, [ `stopped ] ) t
val get : ( 'ctx, 'ty, [ `started ] ) t -> 'ty