class ConnectionPool::TimedStack

def push(obj, options = {})

Experimental RBS support (using type sampling data from the type_fusion project).

def push: (Sidekiq::RedisClientAdapter::CompatClient obj, ?Hash options) -> untyped

This signature was generated using 1 sample from 1 application.

def push(obj, options = {})
  @mutex.synchronize do
    if @shutdown_block
      @shutdown_block.call(obj)
    else
      store_connection obj, options
    end
    @resource.broadcast
  end
end