method

wait_for

rails latest stable - Class: ActiveSupport::Concurrency::ShareLock
wait_for(method, &block)
private

No documentation available.

# File activesupport/lib/active_support/concurrency/share_lock.rb, line 218
        def wait_for(method, &block)
          @sleeping[Thread.current] = method
          @cv.wait_while(&block)
        ensure
          @sleeping.delete Thread.current
        end