package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Service : sig ... end
module Sig : sig ... end
module Core : sig ... end
val create_job : name:string -> ?with_context:(Sihl__.Core_ctx.t -> Sihl__.Core_ctx.t) -> input_to_string:('a -> string option) -> string_to_input:(string option -> ('a, string) Result.t) -> handle:(Sihl__.Core_ctx.t -> input:'a -> (unit, string) Result.t Lwt.t) -> ?failed:(Sihl__.Core_ctx.t -> (unit, string) Result.t Lwt.t) -> unit -> 'a Core.Job.t
val set_max_tries : int -> 'a Core.Job.t -> 'a Core.Job.t
val set_retry_delay : Sihl__.Utils_time.duration -> 'a Core.Job.t -> 'a Core.Job.t