Software /
code /
prosody
File
teal-src/util/timer.d.tl @ 12689:1bc2220cd6ec
mod_smacks: Use new :add_error() in last remaining error result construction
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 29 Aug 2022 15:48:07 +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