method

wait_for

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ShareLock
wait_for(method, &block) private

No documentation

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

Hide source
# 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
Register or log in to add new notes.