[rabbitmq-discuss] Python example on event-driving consumer?

Aaron Westendorf aaron at agoragames.com
Mon Jan 9 18:16:15 GMT 2012


You can also use haigha which supports pyevent and gevent for its loop.
https://github.com/agoragames/haigha

Regarding your animation loop, you can simply queue the "draw()" onto
the event loop so it's all in synch, use native threading, or both
pyevent and gevent support a concept of "loop for N milliseconds, then
return", so you can call that whenever your animation loop yields.

-Aaron


On Fri, Jan 6, 2012 at 1:02 PM, njsss <shilei1980 at gmail.com> wrote:
> Hello all,
>
> I'm new to rabbitmq and python as well. I installed pika and followed
> the tutorials. But what I need is an event-driving messenger. Is there
> anyway to do it?
>
> Thanks,
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



-- 
Aaron Westendorf
Senior Software Engineer
Agora Games
359 Broadway
Troy, NY 12180
Phone: 518.268.1000
aaron at agoragames.com
www.agoragames.com


More information about the rabbitmq-discuss mailing list