Class: AsyncTaskQueue

AsyncTaskQueue


new AsyncTaskQueue()

AsyncTaskQueue allows queueing a bunch of functions which are executed "whenever", in order.

Author:
  • derschmale <http://www.derschmale.com>

Members


isRunning

Indicates whether the queue is currently running or not.

Methods


addChildQueue()

Adds a child queue to execute. This can be done by queued tasks while this queue is already running.


cancel()

Cancels execution of the queue.


execute()

Starts execution of the tasks in the queue.


queue()

Adds a function to execute. Provide the parameters for the function as parameters after the function.