package sihl

  1. Overview
  2. Docs
val schedule : ?ctx:(string * string) list -> Sihl__.Core_schedule.t -> unit -> unit

schedule ?ctx t runs a schedule t.

Call the returned function to cancel a schedule.

val register : ?schedules:Sihl__.Core_schedule.t list -> unit -> Sihl__.Core_service.t
val lifecycle : Sihl__.Core_lifecycle.lifecycle