event_machine: factor out async.callback handling
commit2cb26ba8084cd37996330616b885de1c780d848e
authorEric Wong <normalperson@yhbt.net>
Thu, 6 Jan 2011 01:39:11 +0000 (5 17:39 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 6 Jan 2011 22:14:30 +0000 (6 14:14 -0800)
tree6e829d0c1d4c49e666e97dacdfcc16e8eea0482d
parent31a93152c8977f31045bd182ae99df4ebd088abf
event_machine: factor out async.callback handling

This will allow Coolio to use it, too.
lib/rainbows/ev_core.rb
lib/rainbows/event_machine/client.rb
lib/rainbows/event_machine/response.rb [new file with mode: 0644]