Interface TaskBuilder.DelayedTime
- All Superinterfaces:
ContextualPromiseBuilder,TaskBuilder.Delayed
- Enclosing interface:
- TaskBuilder
-
Method Summary
Modifier and TypeMethodDescription@NotNull ContextualTaskBuilderMarks that the new task should repeat on the specified interval, and returns the next builder in the chain.Methods inherited from interface dev.demeng.pluginbase.scheduler.builder.ContextualPromiseBuilder
call, run, supply
-
Method Details
-
every
Marks that the new task should repeat on the specified interval, and returns the next builder in the chain.- Parameters:
duration- the duration to wait between executionsunit- the units of the duration- Returns:
- a delayed builder
-