Queue.JobInstanceSourceThis 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.
type 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 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 ->
t