2011/7/8 Michael Nacos <span dir="ltr"><<a href="mailto:m.nacos@gmail.com">m.nacos@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
which is great, but how does it fit within the consume loop? I need execution to block until it's safe to issue the metadata.ack call. Is this something I can achieve with eventmachine?</blockquote></div><br><br clear="all">
Yes. You can use EventMachine::Deferrable for that. I can't explain how without sitting down to write a full example.<br>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br><br>