Package org.zkoss.zk.ui.sys
Interface Scheduler<T extends Event>
public interface Scheduler<T extends Event>
A scheduler that is able to schedule a task to execute asynchronously.
A task is represented as event listener.
- Since:
- 5.0.6
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionvoidschedule(EventListener<T> task, T event) Schedules the task to execute asynchronously.
-
Method Details
-
schedule
Schedules the task to execute asynchronously.- Parameters:
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.
-