class PersistTurnJob

Defined in:

jobs/persist_turn_job.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class ApplicationJob

build_job_run build_job_run, perform perform

Class methods inherited from class ApplicationJob

job_name job_name

Constructor Detail

def self.new(path : String, context_json : String) #

[View source]
def self.new #

[View source]

Class Method Detail

def self.job_name #

[View source]

Instance Method Detail

def build_job_run #
Description copied from class ApplicationJob

Base class for jobs in the app. Overrides perform so that jobs can implement #trace_perform instead. This will allow for OpenTelemetry tracing if available, otherwise the job will be executed as it would if it overrides perform (mosquito standard). If someone does override perform on the job it will also have no behavior effect, other than tracing not taking place.


[View source]
def context_json : String #

[View source]
def context_json=(value : String) : String #

[View source]
def context_json? : String | Nil #

[View source]
def path : String #

[View source]
def path=(value : String) : String #

[View source]
def path? : String | Nil #

[View source]
def trace_perform #

[View source]
def vars_from(config : Hash(String, String)) #

[View source]

Macro Detail

macro params(*parameters) #

[View source]