package sihl-queue

  1. Overview
  2. Docs
type t = {
  1. name : string;
  2. work : string option -> (unit, string) Result.t Lwt.t;
  3. failed : string -> (unit, string) Result.t Lwt.t;
  4. max_tries : int;
  5. retry_delay : Sihl_core.Time.duration;
}
val of_job : 'a Sihl_contract.Queue.t -> t