instance method
scheduled?
Ruby on Rails 7.2.3
Since v7.0.10Signature
scheduled?()
Returns true if the relation was scheduled on the background thread pool.
Source
# File activerecord/lib/active_record/relation.rb, line 1165
def scheduled?
!!@future_result
end
Defined in activerecord/lib/active_record/relation.rb line 1165
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Relation