class ActiveRecord::ConnectionAdapters::PoolManager

def pool_configs(role = nil)

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

def pool_configs: (?Symbol? role) -> untyped

This signature was generated using 53 samples from 1 application.

def pool_configs(role = nil)
  if role
    @name_to_role_mapping[role].values
  else
    @name_to_role_mapping.flat_map { |_, shard_map| shard_map.values }
  end
end