module ActiveJob::Callbacks

Included modules:
ActiveSupport::Callbacks

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.

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.