Module: ActiveJob::Callbacks

Extended by:
ActiveSupport::Callbacks, ActiveSupport::Concern
Includes:
ActiveSupport::Callbacks
Included in:
Base
Defined in:
activejob/lib/active_job/callbacks.rb

Overview

Active Job Callbacks

Active Job provides hooks during the life cycle of a job. Callbacks allow you to trigger logic during this cycle. Available callbacks are:

  • before_enqueue

  • around_enqueue

  • after_enqueue

  • before_perform

  • around_perform

  • after_perform

NOTE: Calling the same callback multiple times will overwrite previous callback definitions.

Defined Under Namespace

Modules: ClassMethods

Constant Summary

Constants included from ActiveSupport::Callbacks

ActiveSupport::Callbacks::CALLBACK_FILTER_TYPES

Method Summary

Methods included from ActiveSupport::Callbacks

run_callbacks

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included