ecto_job_scheduler v1.0.0 EctoJobScheduler.Job behaviour View Source

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

Link to this section Summary

Link to this section Callbacks

Link to this callback

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