--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: (conn)
comment: 
- !ruby/struct:SM::Flow::P 
  body: Assigns a connection to the current thread, yielding the connection to the supplied block.
- !ruby/struct:SM::Flow::VERB 
  body: "  pool.hold {|conn| conn.execute('DROP TABLE posts')}\n"
- !ruby/struct:SM::Flow::P 
  body: Pool#hold is re-entrant, meaning it can be called recursively in the same thread without blocking.
- !ruby/struct:SM::Flow::P 
  body: If no connection is available, Pool#hold will block until a connection is available.
full_name: ConnectionPool#hold
is_singleton: false
name: hold
params: () {|conn| ...}
visibility: public
