schedule-rs icon indicating copy to clipboard operation
schedule-rs copied to clipboard

Short-hand expression for Constant Delay

Open stephanbuys opened this issue 8 years ago • 1 comments

As per author: "Constant Delay; an extension I've seen that is neat is @every 1h to define a delayed task instead of a scheduled task"

stephanbuys avatar Feb 08 '17 13:02 stephanbuys

This is sort of done. The short-hand syntax is not there but the constant delay is. Going to change this issue to focus on the syntax.


my_agenda.add(|| { }).schedule(Duration::seconds(10));

mehcode avatar Mar 22 '17 09:03 mehcode