BinChengZhao / delay-timer

Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
Apache License 2.0
309 stars 23 forks source link

Request to add the task to be executed immediately after a delay #47

Closed yangjungis closed 3 months ago

yangjungis commented 1 year ago

Request to add the task to be executed immediately after a delay

/// 
delay_timer.immediately_task(self, task: Task, delay: Duration);
BinChengZhao commented 3 months ago

Hello my dear friend @yangjungis , you can use DelayTimer::advance_task to execute your task immediately!