File

teal-src/util/timer.d.tl @ 12783:d513e4bd4928

util.human.io: Fix handling of os.execute() return values in Lua 5.2+ Wrong part of Lua 5.1 compat removed in 0f4feaf9ca64
author Kim Alvefur <zash@zash.se>
date Thu, 20 Oct 2022 17:35:01 +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