class ActiveSupport::Concurrency::Latch

Public Class Methods

new(count = 1) click to toggle source
Calls superclass method
# File lib/active_support/concurrency/latch.rb, line 7
def initialize(count = 1)
  ActiveSupport::Deprecation.warn("ActiveSupport::Concurrency::Latch is deprecated. Please use Concurrent::CountDownLatch instead.")
  super(count)
end

Public Instance Methods

await() click to toggle source
# File lib/active_support/concurrency/latch.rb, line 14
def await
  wait(nil)
end