method

new

rails latest stable - Class: ActiveSupport::Concurrency::Latch

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

new(count = 1)
public

No documentation available.

# File activesupport/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