lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi list,

 

A new version 1.0 of copastimer is available.

 

Copas Timer is an add on module for the Copas socket scheduler. Copas Timer implements background workers and timers alongside the sockets. As an optional component the eventer module is available which allows for event-driven code. The events are being run as background workers in the scheduler.

 

Changed from the previous versions is the implementation of the background workers, which now are coroutines instead of callbacks. This also means that this version is incompatible with the previous versions.

 

Check the readme [1] in the documentation for the basic examples of timers, workers and events

 

The code is on github [2] as is the documentation [1], it can be installed using; `sudo luarocks install copastimer`

 

As usual comments are welcome!

Thijs

 

[1] http://tieske.github.io/CopasTimer/topics/readme.md.html

[2] https://github.com/Tieske/CopasTimer