Module type Contract_schedule.Sig

val schedule : ?⁠ctx:(string * string) list -> Sihl__.Core_schedule.t -> Sihl__.Core_schedule.stop_schedule

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_container.Service.t