Sig.JobInstanceThis is the actual job instance that is derived from the job description 'a Job.t and some input. This needs to be serialized and persisted for persistent job queues.
module Status : sig ... endtype t = {id : Data.Id.t;name : Base.string;input : Base.string Base.option;tries : Base.int;next_run_at : Ptime.t;max_tries : Base.int;status : Status.t;}val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval equal : t -> t -> Ppx_deriving_runtime.boolval input : t -> Base.string Base.optionval name : t -> Base.stringmodule Fields : sig ... endval make :
id:Data.Id.t ->
name:Base.string ->
?input:Base.string ->
tries:Base.int ->
next_run_at:Ptime.t ->
max_tries:Base.int ->
status:Status.t ->
unit ->
tval create :
input:'a ->
delay:Utils.Time.duration Base.Option.t ->
now:Ptime.t ->
'a Queue__.Queue_core.Job.t ->
tval is_pending : t -> Ppx_deriving_runtime.bool