Software /
code /
prosody
Log
util/timer.lua @ 5880:11f14d44438e
description | author | age |
---|---|---|
util.timer: Import all require upvalues. | Waqas Hussain | Wed, 30 Oct 2013 17:58:17 -0400 |
util.timer: Fix another variable name typo (thanks again zash). | Waqas Hussain | Wed, 30 Oct 2013 17:56:00 -0400 |
util.timer: Fix variable name typo. | Waqas Hussain | Wed, 30 Oct 2013 17:51:37 -0400 |
util.timer: Updated to use util.indexedbheap to provide a more complete API. Timers can now be stopped or rescheduled. Callbacks are now pcall'd. Adding/removing timers from within timer callbacks works better. Optional parameter can be passed when creating timer which gets passed to callback, eliminating the need for closures in various timer uses. Timers are now much more lightweight. | Waqas Hussain | Wed, 30 Oct 2013 17:44:42 -0400 |