# File lib/mysql2/em.rb, line 9 def initialize(client, deferable) @client = client @deferable = deferable end
# File lib/mysql2/em.rb, line 14 def notify_readable detach begin result = @client.async_result rescue Exception => e @deferable.fail(e) else @deferable.succeed(result) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.