stop
Stops this queue, cancelling invocation of pending tasks.
stop(): this
Note
Currently running tasks can’t be stopped, but any tasks that haven’t been invoked will no longer run on a stopped queue. Tasks that have already been started should check thecancelled
property of the AsyncTaskQueue.Task function argument.
Related
- class AsyncTaskQueueA class that represents a queue of asynchronous tasks within a Scheduler.