struct Conveyor::Job::Bogus2

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.cr

Constructors

Instance Method Summary

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) : String
schedule(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:


[View source]

Instance Method Detail

def call #
Description copied from struct Conveyor::Job

Override this method to provide this job's functionality.


[View source]
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: