JoobQ::Event
Inherits JSON::Serializable < Struct < Value < Object
A lifecycle event (e.g. "job.started"). Wire form: {v, id?, ts, type, data}.
Constructors
new(type : String, data : JSON::Any, ts : Int64 = Time.utc.to_unix_ms, id : String | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
data
Sourceid
Sourcets
Sourcetype
Sourcewith_id(id : String) : Event
Source