Class SchedulerReference
java.lang.Object
dev.rollczi.litecommands.scheduler.SchedulerReference
- All Implemented Interfaces:
Scheduler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetScheduler(Scheduler scheduler) voidshutdown()<T> CompletableFuture<T> supplyLater(SchedulerType type, Duration delay, ThrowingSupplier<T, Throwable> supplier) Runs the supplier in the specified thread after the specified delay