z_pivot_rsc_task_job (zotonic_core v1.0.0-rc.12)
Link to this section Summary
Link to this section Functions
Link to this function
maybe_schedule_retry(_, Error, Reason, Trace, Context)
-spec maybe_schedule_retry(map(), atom(), term(), list(), z:context()) -> ok.
Link to this function
start_task(Task, Context)
-spec start_task(map(), z:context()) -> {ok, pid()} | {error, overload}.
Link to this function
task_job(Task, Context)
-spec task_job(map(), z:context()) -> ok.
Link to this function
task_retry_due(ErrCt)
-spec task_retry_due(integer()) -> calendar:datetime().