class PersistTurnJob
- PersistTurnJob
- ApplicationJob
- Mosquito::QueuedJob
- Mosquito::Job
- Reference
- Object
Defined in:
jobs/persist_turn_job.crConstructors
Class Method Summary
Instance Method Summary
-
#build_job_run
Base class for jobs in the app.
- #context_json : String
- #context_json=(value : String) : String
- #context_json? : String | Nil
- #path : String
- #path=(value : String) : String
- #path? : String | Nil
- #trace_perform
- #vars_from(config : Hash(String, String))
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
Class Method Detail
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.