class ActiveRecord::ConnectionAdapters::ConnectionPool

def checkout_and_verify(c)

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

def checkout_and_verify: (ActiveRecord::ConnectionAdapters::PostgreSQLAdapter c) -> ActiveRecord::ConnectionAdapters::PostgreSQLAdapter

This signature was generated using 5 samples from 1 application.

def checkout_and_verify(c)
  c._run_checkout_callbacks do
    c.verify!
  end
  c
rescue
  remove c
  c.disconnect!
  raise
end