AnyEvent driver for Prima

Marc Lehmann schmorp at schmorp.de
Tue Dec 13 18:19:10 CET 2016


> On Tue, Dec 13, 2016 at 02:47:21PM +0100, ambrus <ambrus at math.bme.hu> wrote:
>  Hello Dmitry Karasik, Corion, and Schmorp.
> 
> Dmitry: to make a quick summary for you: there is currently nothing known

Ok, ambrus corrected me, apparently, we haven't found a way to get the
equivalent of "one_event" (do event processing once, then return) - it
seems neither $::application->yield nor ->go do that (the first one
apparently returns immediately, the second blocks "forever"). That would be a
showstopper.

Dmitry: is there a way in Prima to either return from the event loop to
the caller on some event, or alternatively, is there a way to run the
event loop blockingly for just one round?

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list