Interface ScxTimer
- All Known Implementing Classes:
ScheduledExecutorTimer
public interface ScxTimer
ScxTimer
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescription<V, X extends Throwable>
TaskHandle<V, X> <X extends Throwable>
TaskHandle<Void, X>
-
Method Details
-
runAfter
<X extends Throwable> TaskHandle<Void,X> runAfter(cool.scx.function.Function0Void<X> action, long delay, TimeUnit unit) -
runAfter
<V, X extends Throwable> TaskHandle<V,X> runAfter(cool.scx.function.Function0<V, X> action, long delay, TimeUnit unit)
-