package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Core.Container.SERVICE
val lifecycle : Core__.Core_container.Lifecycle.t
val start : Core__.Core_ctx.t -> Core__.Core_ctx.t Lwt.t
val stop : Core__.Core_ctx.t -> unit Lwt.t
val register_seed : Seed__.Seed_core.t -> unit

register_seed seed adds seed to the already registered seeds. Raises if a seed with the same name already exists.

val register_seeds : Seed__.Seed_core.t list -> unit

register_seeds seeds adds seeds to the already registered seeds. Raises if a seed with the same name already exists.

val get_seeds : unit -> Seed__.Seed_core.t list

get_seeds () returns the list of registered seeds.

val run_seed : Core.Ctx.t -> string -> unit Lwt.t

run_seed ctx name executed the seed with name by using the ctx as request context.

OCaml

Innovation. Community. Security.