Log

util/timer.lua @ 6840:eeefe8d42b8b

description author age
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
Move timer code out of util.timer and into relevant net.server backends daurnimator 2014-10-20
util/timer: Re-set params when timer is rescheduled daurnimator 2013-11-06
util.timer: Import all require upvalues. Waqas Hussain 2013-10-30
util.timer: Fix another variable name typo (thanks again zash). Waqas Hussain 2013-10-30
util.timer: Fix variable name typo. Waqas Hussain 2013-10-30
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 2013-10-30
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.timer: Always pass the current time to timer callbacks. Waqas Hussain 2012-05-12
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani) Matthew Wild 2012-05-03
net.server, net.timer, net.server_select: Rearrange dependencies between these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani) Matthew Wild 2012-05-03
util.timer: Remove unused function imports Matthew Wild 2012-04-28
util.timer: Variable name change (func -> callback) Matthew Wild 2011-11-03
util.timer: Fix corner case of timer not repeating if it returns <= 0 Matthew Wild 2011-09-22
util.timer: Activate higher timer precision. Waqas Hussain 2010-12-02