method

perform_or_enqueue

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: TestAdapter
perform_or_enqueue(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 48
        def perform_or_enqueue(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.