data Divider::Event(kind: Symbol, id: Int, class_name: String, queue: String, attempt: Int, duration_ms: Int?, error: String?)
What happened to a job, for on_event: kind is :started,
:completed, :failed, :discarded, :snoozed, :cancelled or
:rescued (given back by maintenance, its node having stopped beating);
duration_ms the attempt's time (nil for :started and :rescued),
error the message of what it raised.
/home/runner/work/divider/divider/src/worker.qz:500
Methods
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def with(*, kind: Symbol = …, id: Int = …, class_name: String = …, queue: String = …, attempt: Int = …, duration_ms: Int? = …, error: String? = …) -> Divider::Event
A copy with the fields given replaced.