instance method
scheduled?
Ruby on Rails 7.0.10
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 683
def scheduled?
!!@future_result
end
Defined in activerecord/lib/active_record/relation.rb line 683
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Relation