public interface Scheduler<T extends Event>
Modifier and Type | Method and Description |
---|---|
void |
schedule(EventListener<T> task,
T event)
Schedules the task to execute asynchronously.
|
void schedule(EventListener<T> task, T event)
task
- the task to executeevent
- the event to be passed to the task (i.e., the event listener).
It could null or any instance as long as the task recognizes it.Copyright © 2005-2023 Potix Corporation. All Rights Reserved.