Skip to main content

timer

Attribute Macro timer 

Source
#[timer]
Expand description

将异步函数注册为进程内定时任务。

任务名称固定为函数名,因此同一进程内不能出现同名任务。