method

interrupt!

rails latest stable - Class: ActiveJob::Continuable

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

interrupt!(reason:)
public

No documentation available.

# File activejob/lib/active_job/continuable.rb, line 66
    def interrupt!(reason)) # :nodoc:
      instrument :interrupt, reason: reason, **continuation.instrumentation
      raise Continuation::Interrupt, "Interrupted #{continuation.description} (#{reason})"
    end