View Source AshOban.Trigger (ash_oban v0.1.2)

A configured trigger.

Link to this section Summary

Link to this section Types

@type t() :: %AshOban.Trigger{
  __identifier__: atom(),
  action: atom(),
  max_attempts: pos_integer(),
  max_scheduler_attempts: pos_integer(),
  name: atom(),
  on_error: atom(),
  queue: atom(),
  read_action: atom(),
  scheduler: module(),
  scheduler_cron: String.t(),
  scheduler_queue: atom(),
  state: :active | :paused | :deleted,
  where: Ash.Expr.t(),
  worker: module()
}