EventMachine: support deferrables in responses
commit96fbc5e91017c4912169629abc7dbb56cda9082c
authorEric Wong <normalperson@yhbt.net>
Wed, 30 Dec 2009 09:27:15 +0000 (30 01:27 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 30 Dec 2009 09:53:46 +0000 (30 01:53 -0800)
tree763cc51001ef8459e8e65b315740701b15a2b48d
parent44a80df0c4c0d47fd2ac503396cb9accfe770f0a
EventMachine: support deferrables in responses

Some async apps rely on more than just "async.callback" and
make full use of Deferrables provided by the EM::Deferrable
module.  Thanks to James Tucker for bringing this to our
attention.
lib/rainbows/ev_core.rb
lib/rainbows/event_machine.rb
t/async_examples/README [new file with mode: 0644]
t/async_examples/async_app.ru [new file with mode: 0644]
t/async_examples/async_tailer.ru [new file with mode: 0644]
t/t0400-em-async-app.sh [new file with mode: 0755]
t/t0401-em-async-tailer.sh [new file with mode: 0755]