instance method await

Ruby on Rails 4.1.16

Since v4.0.13 Last seen in v4.2.9

Available in: v4.0.13 v4.1.16 v4.2.9

Signature

await()

No documentation comment.

Source
# File activesupport/lib/active_support/concurrency/latch.rb, line 20
      def await
        @lock.synchronize do
          @cv.wait_while { @count > 0 }
        end
      end

Defined in activesupport/lib/active_support/concurrency/latch.rb line 20 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Concurrency::Latch

Type at least 2 characters to search.

↑↓ navigate · open · esc close