Module: NeverBlock::DB::EMConnectionHandler

Defined in:
lib/never_block/db/fibered_db_connection.rb

Instance Method Summary collapse

Instance Method Details

#initialize(connection) ⇒ Object



64
65
66
# File 'lib/never_block/db/fibered_db_connection.rb', line 64

def initialize connection
  @db_connection = connection
end

#notify_readableObject



67
68
69
# File 'lib/never_block/db/fibered_db_connection.rb', line 67

def notify_readable
  @db_connection.resume_command
end