eventmachine/eventmachine — pull request #543 by singpolyma (2014-10-06 20:23:41+00:00)
Title: Handle iterator blocks returning Deferrable

So that they can return Deferrable instead of calling iter.next
This also handles failure of one or more operations nicely