= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
package sihl
-
sihl
-
sihl.authn
-
sihl.authz
-
sihl.message
-
sihl.migration
-
sihl.password-reset
-
sihl.schedule
-
sihl.storage
-
sihl.token
-
sihl.utils
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Core.Container.Service.Sig
val lifecycle : Sihl_core.Container.Lifecycle.t
val dispatch : job:'a Job.t -> ?delay:Utils.Time.duration -> 'a -> unit Lwt.t
Queue a job
for processing. Use delay
to run the initially job after a certain amount of time.
Register jobs that can be dispatched.
Only registered jobs can be dispatched. Dispatching a job that was not registered does nothing.
val register : ?jobs:'a Job.t list -> unit -> Core.Container.Service.t