File

teal-src/util/timer.d.tl @ 12676:3ab3ef9584e3

mod_admin_shell: Rename variable to avoid confusion with global function For luacheck, but it doesn't actually complain about this right now
author Kim Alvefur <zash@zash.se>
date Thu, 25 Aug 2022 22:42:41 +0200
parent 12624:7eca6c919d5e
line wrap: on
line source

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