instance method pending?

Ruby on Rails 7.2.3

Since v7.1.6

Available in: v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

pending?()

Returns whether the associated query is still being executed or not.

Source
# File activerecord/lib/active_record/promise.rb, line 13
    def pending?
      @future_result.pending?
    end

Defined in activerecord/lib/active_record/promise.rb line 13 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Promise

Type at least 2 characters to search.

↑↓ navigate · open · esc close