Interface TimerScheduler.Cancellable
- Enclosing interface:
TimerScheduler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A handle to a task scheduled with
TimerScheduler.schedule(Duration, Runnable).-
Method Summary
-
Method Details
-
cancel
void cancel()Cancels the task. Cancellation is best effort, so an already dispatched task may still run.
-