struct Conveyor::Job::Bogus2
- Conveyor::Job::Bogus2
- Conveyor::Job
- Struct
- Value
- Object
Overview
This is provided just to make sure we have at least 2 Job subclasses. As of Crystal 1.10.1, it crashes the compiler if there aren't. :nodoc:
Defined in:
job.crConstructors
-
.new(pull : JSON::PullParser)
This is provided just to make sure we have at least 2 Job subclasses.
Instance Method Summary
-
#call
Override this method to provide this job's functionality.
-
#conveyor_job_type
This is provided just to make sure we have at least 2 Job subclasses.
Instance methods inherited from struct Conveyor::Job
call
call,
enqueue(*, queue : String = self.queue, configuration config : Configuration = CONFIG) : String
enqueue,
schedule(in delay : Time::Span, queue : String = self.queue, configuration config : Configuration = CONFIG) : Stringschedule(at time : Time, queue : String = self.queue, configuration config : Configuration = CONFIG) : String schedule
Constructor methods inherited from struct Conveyor::Job
new(pull : JSON::PullParser)
new
Class methods inherited from struct Conveyor::Job
dequeue(id : String, *, configuration config : Configuration = CONFIG) : Nil
dequeue,
max_attempts(max_attempts : Int32)max_attempts : Int32 max_attempts, unschedule(id : String, configuration config : Configuration = CONFIG) : Nil unschedule
Macros inherited from struct Conveyor::Job
queue(name)
queue
Constructor Detail
def self.new(pull : JSON::PullParser)
#
This is provided just to make sure we have at least 2 Job subclasses. As of Crystal 1.10.1, it crashes the compiler if there aren't. :nodoc:
Instance Method Detail
def call
#
Description copied from struct Conveyor::Job
Override this method to provide this job's functionality.
def conveyor_job_type
#
This is provided just to make sure we have at least 2 Job subclasses. As of Crystal 1.10.1, it crashes the compiler if there aren't. :nodoc: