Try EventMachine::next_tick
On 11/3/07, Marc Soda <marcantoniosr at gmail.com>
wrote:>
> Hey all,
>
> Thinking out loud here. If anyone has any insight I''d appreciate
it.
>
> Is there a way to run one iteration of EM? Something like a public
> EventMachine_t::_RunOnce. Barring that, is there a way to add a block
> of code to run at every quantum? Would constantly adding periodic
> timers be too expensive for something like a GUI?
>
> Marc
> _______________________________________________
> Eventmachine-talk mailing list
> Eventmachine-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/eventmachine-talk
>
--
Tony Arcieri
ClickCaster, Inc.
tony at clickcaster.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/eventmachine-talk/attachments/20071104/d9c44b71/attachment.html