This method is responsible for queuing up a task
to be performed. The given newListeners
will be fired according to the requested event type
. If the type
is not specified, it will default to {@link Task#DEFAULT_EVENT_TYPE} indicating that the givennewListeners
should be fired at the completion of the task.
Note: If the task
is already queued, it will NOT be performed twice. The newListeners
will be added to the already-queued task
.
|
|