File

teal-src/util/timer.d.tl @ 12899:09b101a3b3e1

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 22 Feb 2023 22:29:53 +0100
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