TestJob
Inherits JSON::Serializable / JoobQ::Job / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Class methods
delay(for wait_time : Time::Span, **args)
Sourceperform
Sourceperform
Sourceschedule(every : Time::Span, **args)
Allows for scheduling Jobs at an interval time span.
TestJob.run(every: 1.second, x: 1)
Instance methods
at
expires
expires=(expires : Int32)
jid
The Unique identifier for this job
perform
Sourcequeue
queue=(queue : String)
retries
retries=(retries : Int32)