module Mysql2::EM::Client::Watcher

Public Instance Methods

notify_readable() click to toggle source
# File lib/em-synchrony/mysql2.rb, line 11
def notify_readable
  detach
  begin
    result = @client.async_result
  rescue Exception => e
    @deferable.fail(e)
  else
    @deferable.succeed(result)
  end
end