Namespace

Module

Methods

Instance Public methods

priority()

Returns the priority that the job will be created with

📝 Source code
# File activejob/lib/active_job/queue_priority.rb, line 53
    def priority
      if @priority.is_a?(Proc)
        @priority = instance_exec(&@priority)
      end
      @priority
    end
🔎 See on GitHub