addTaskToQueue

fun addTaskToQueue(task: ITask): Boolean

Attempts to add a task to the processing queue.

Return

true if the task is added to the queue else false.

Parameters

task

instance of ITask