diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-10-30 17:44:42 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-10-30 17:44:42 -0400 |
commit | 495b904d7210537b53736f6fd2330a26527ce89c (patch) | |
tree | ff11c1b8dae686f95c1a2222bda607fd58b8ef9f /plugins/mod_message.lua | |
parent | 511f7a76a11199b7cd4d13c85f0703f3e7930e3c (diff) | |
download | prosody-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