Class BasicsScheduler
-
- All Implemented Interfaces:
public final class BasicsScheduler
-
-
Constructor Summary
Constructors Constructor Description BasicsScheduler(Plugin plugin)
-
Method Summary
Modifier and Type Method Description final Integer
runTask(Function0<Unit> task)
final Integer
runTaskAsync(Function0<Unit> task)
final Integer
runLater(Long delay, Function0<Unit> task)
final Integer
runLaterAsync(Long delay, Function0<Unit> task)
final Integer
runTimer(Long delay, Long period, Function0<Unit> task)
final Integer
runTimerAsync(Long delay, Long period, Function0<Unit> task)
final Unit
kill(Integer id)
final Unit
killAll()
-
-
Method Detail
-
runTaskAsync
final Integer runTaskAsync(Function0<Unit> task)
-
runLaterAsync
final Integer runLaterAsync(Long delay, Function0<Unit> task)
-
runTimerAsync
final Integer runTimerAsync(Long delay, Long period, Function0<Unit> task)
-
-
-
-