class ActiveRecord::ConnectionAdapters::ConnectionPool

def connected?

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

def connected?: () -> untyped

This signature was generated using 1 sample from 1 application.

Returns true if a connection has already been opened.
def connected?
  synchronize { @connections.any? }
end