public interface Scheduler
| Modifier and Type | Method and Description |
|---|---|
<T> void |
cancel(Action<T> action)
Propagates the cancel of an action.
|
<T> void |
schedule(Action<T> action,
Promise<T> promise)
Propagates the call of an action on the promise.
|
<T> void schedule(Action<T> action, Promise<T> promise)
T - The type of the promise.action - The action to call on the promise.promise - The promise that the action calls.<T> void cancel(Action<T> action)
T - The type of the action.action - The action to cancel.