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