Docs (4.0.0)
class AsyncTaskQueue method

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 the cancelled property of the AsyncTaskQueue.Task function argument.

Related