aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-10-30 17:44:42 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-10-30 17:44:42 -0400
commit495b904d7210537b53736f6fd2330a26527ce89c (patch)
treeff11c1b8dae686f95c1a2222bda607fd58b8ef9f /plugins/mod_message.lua
parent511f7a76a11199b7cd4d13c85f0703f3e7930e3c (diff)
downloadprosody-495b904d7210537b53736f6fd2330a26527ce89c.tar.gz
prosody-495b904d7210537b53736f6fd2330a26527ce89c.zip
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.
Diffstat (limited to 'plugins/mod_message.lua')
0 files changed, 0 insertions, 0 deletions