method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: FutureResult
new(pool, *args, **kwargs) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/future_result.rb, line 55
    def initialize(pool, *args, **kwargs)
      @mutex = Mutex.new

      @session = nil
      @pool = pool
      @args = args
      @kwargs = kwargs

      @pending = true
      @error = nil
      @result = nil
      @instrumenter = ActiveSupport::Notifications.instrumenter
      @event_buffer = nil
    end
Register or log in to add new notes.