package sihl

  1. Overview
  2. Docs
The modular functional web framework

Install

Dune Dependency

Authors

Maintainers

Sources

sihl-0.1.3.tbz
sha256=3d1acdd1eae24a7131033656f90b5d20c1621e6ef92957edf88a09b8b5f2d9e9
sha512=d224f54e20a9465c7a03d534dadcb2b9a181ae87c13731840db945aab37534f6f3982c5cb25a197e90c17d8772da062b19fa92bb93ed53a8b736c3776a7776db

doc/sihl.app/App/Make/argument-1-Kernel/Seed/index.html

Module Kernel.Seed

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.