diff options
Diffstat (limited to 'teal-src/prosody/util/timer.d.tl')
-rw-r--r-- | teal-src/prosody/util/timer.d.tl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/teal-src/prosody/util/timer.d.tl b/teal-src/prosody/util/timer.d.tl new file mode 100644 index 00000000..a6394cf3 --- /dev/null +++ b/teal-src/prosody/util/timer.d.tl @@ -0,0 +1,8 @@ +local record util_timer + record task end + type timer_callback = function (number) : number + add_task : function ( number, timer_callback, any ) : task + stop : function ( task ) + reschedule : function ( task, number ) : task +end +return util_timer |