package sihl-type
Module Sihl_type.Queue_jobSource
Source
type 'a t = {name : string;input_to_string : 'a -> string option;string_to_input : string option -> ('a, string) Result.t;handle : input:'a -> (unit, string) Result.t Lwt.t;failed : unit -> (unit, string) Result.t Lwt.t;max_tries : int;retry_delay : Sihl_core.Time.duration;
}Source
val pp :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a t ->
Ppx_deriving_runtime.unitSource
val show :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
'a t ->
Ppx_deriving_runtime.string