Comparison

teal-src/util/timer.d.tl @ 12624:7eca6c919d5e

util.timer: Add Teal interface description
author Kim Alvefur <zash@zash.se>
date Sun, 24 Jul 2022 21:39:51 +0200
comparison
equal deleted inserted replaced
12623:b462fbc600f2 12624:7eca6c919d5e
1 local record util_timer
2 record task end
3 type timer_callback = function (number) : number
4 add_task : function ( number, timer_callback, any ) : task
5 stop : function ( task )
6 reschedule : function ( task, number ) : task
7 end
8 return util_timer