AnyEvent driver for Prima

Dmitry Karasik dmitry at karasik.eu.org
Fri Dec 16 09:19:53 CET 2016


Hello all,

Thank you for your input, I think I manager to incorporate all of it.

In the github repo, Prima implements now the following:

- Prima::File->fd() (along with the existing Prima::File->file)

- Prima::Timer's onTick event will guarantee that it won't be triggered after stop() call (so you won't need destroy() to be bulletproof)

- Prima::Component->idle_message method added. Calling this method will insert the component (once) to the global idle list,
and when the loop becomes idle, it's onIdle callback will be called, once, and the the component will be removed from the list.
However I'm note sure though that I've got the idle semantics right, so if you think that there's something that can be made better,
do say.

You're welcome to give it a try and see how these things are working for you. Meanwhile, I'll be giving the new code some more
testing and minor polishing.

-- 
Sincerely,
	Dmitry Karasik




More information about the anyevent mailing list