Module grapeTimerR::timer[][src]

Structs

Config

Functions

block_on_rt

Used to use asynchronous tasks in Timer [用于在代码中使用异步任务]

init_schedule

init schedule system [用于初始化调度系统,通过Config]

spawn_date

create a new ticker action [创建一个计时器任务]

spawn_rt

Used to use asynchronous tasks in Timer [用于在代码中使用异步任务]

spawn_ticker

create a new ticker action [创建一个计时器任务]

spawn_trait

create a new trait ticker action [创建一个Trait模式计时器任务]

stop_ticker

stop a ticker action [停止一个计时器任务]

wait_forever

wait main thread forever [永远阻塞主线程,非必须调用]