instance method
then
Ruby on Rails 7.1.6
Since v7.1.6Signature
then(&block)
No documentation comment.
Parameters
-
blockblock
Source
# File activerecord/lib/active_record/future_result.rb, line 21
def then(&block)
Promise::Complete.new(@result.then(&block))
end
Defined in activerecord/lib/active_record/future_result.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::FutureResult::Complete