EctoJobScheduler.Job behaviour (ecto_job_scheduler v1.3.0) View Source

Defines jobs to be used with EctoJobScheduler.JobQueue and EctoJobScheduler.JobScheduler.

Link to this section Summary

Link to this section Functions

Link to this function

handle_job_result(arg1, job_name)

View Source
Link to this function

handle_job_result(result, original_multi, repo)

View Source

Link to this section Callbacks

Link to this callback

handle_job(%EctoJobScheduler.JobInfo{}, params)

View Source

Specs

handle_job(
  %EctoJobScheduler.JobInfo{
    attempt: term(),
    job_queue: term(),
    max_attempts: term(),
    multi: term()
  },
  params :: map()
) :: any()