Service.WorkableJobSourceA workable job can process a job instance that is persisted. We can not store the job directly because of the polymorphic type ('a Job.t).
type t = {name : Base.string;with_context : Core.Ctx.t -> Core.Ctx.t;work : Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t;failed : Core.Ctx.t -> (Base.unit, Base.string) Base.Result.t Lwt.t;max_tries : Base.int;retry_delay : Utils.Time.duration;}val work :
t ->
Core.Ctx.t ->
input:Base.string Base.option ->
(Base.unit, Base.string) Base.Result.t Lwt.t