Interface CancellableScheduler
- All Known Subinterfaces:
BiLateScheduler<A,B>,LateScheduler<A>
- All Known Implementing Classes:
AsyncBiLateScheduler,AsyncLateScheduler,FixedBiLateScheduler,FixedLateScheduler
public interface CancellableScheduler
Karma cancellable scheduler
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGet if the scheduler is cancelledvoidSet the scheduler as cancelledwhenCancelled(Runnable paramRunnable)Set the action to perform when the scheduler is cancelled
-
Method Details
-
whenCancelled
Set the action to perform when the scheduler is cancelled- Parameters:
paramRunnable- the action to perform- Returns:
- this instance
-
isCancelled
boolean isCancelled()Get if the scheduler is cancelled- Returns:
- if the scheduler is cancelled
-
setCancelled
void setCancelled()Set the scheduler as cancelled
-