module
ActiveJob::Callbacks
v7.1.3.4 -
Show latest stable
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.
Included modules
- ActiveSupport::Callbacks
Files
- activejob/lib/active_job/callbacks.rb