method

enqueue_or_perform

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TestAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

enqueue_or_perform(perform, job, job_data) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/queue_adapters/test_adapter.rb, line 47
        def enqueue_or_perform(perform, job, job_data)
          if perform
            performed_jobs << job_data
            Base.execute job.serialize
          else
            enqueued_jobs << job_data
          end
        end
Register or log in to add new notes.