Sha256: d8e58d4a31bec2bcd8b87a44d02035812b5a1332e918ed5038efafa786c53bee
Contents?: true
Size: 441 Bytes
Versions: 12
Compression:
Stored size: 441 Bytes
Contents
require 'concurrent/atomic/count_down_latch' module ActiveSupport module Concurrency class Latch < Concurrent::CountDownLatch def initialize(count = 1) ActiveSupport::Deprecation.warn("ActiveSupport::Concurrency::Latch is deprecated. Please use Concurrent::CountDownLatch instead.") super(count) end alias_method :release, :count_down def await wait(nil) end end end end
Version data entries
12 entries across 12 versions & 3 rubygems