Software /
code /
prosody
File
teal-src/util/timer.d.tl @ 12701:8e402a2ae1b8
util.jwt: Overhaul of tests to use declarative approach
Now we can consistently apply the same tests to every algorithm, instead of
duplicating code.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2022 14:22:20 +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