On Nov 16, 2009, at 4:38 PM, Alexander Gladysh wrote:

> I mean that if I didn't used Copas, I'd tried to use socket select
> timeout to sleep until I have to either print something to stdout or
> read incoming data from a socket. I'm not sure how to do this with
> Copas though...

Not sure I understand what you are trying to do, but... would something like 
lalarm work for you?

http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lalarm

lalarm allows to register a function to be executed every now and then. 
_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to