Log

util/timer.lua @ 7310:66873c5e2061

description author age
util.timer: Reschedule timers from stop() if the next pending event is stopped Kim Alvefur 2015-12-23
util.timer: If possible, close the existing timer handle in order to have only one Kim Alvefur 2015-11-22
util.timer: Expire timer instance if another instance is already set to take care of the next scheduled event Kim Alvefur 2015-11-22
util.timer: Keep count of how many timer instances are active Kim Alvefur 2015-11-22
util.timer: Fix indentation Kim Alvefur 2015-09-18
Merge 0.10->trunk Kim Alvefur 2015-08-20
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