aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody/util/timer.d.tl
blob: a6394cf36bd9ef93e3ffedf1ced35eb86118e434 (plain)
1
2
3
4
5
6
7
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