Mc2_core__Service.Registry
type t
val create : unit -> t
Create a registry
val register : t -> 'a Key.t -> 'a -> unit
Register a service
val find : t -> 'a Key.t -> 'a option
Find a service by its key
val find_exn : t -> 'a Key.t -> 'a
if the key is not found
val to_iter : t -> any Iter.t
all registered services