Docs (4.0.0)
class AsyncTaskQueue class

class Options

An object with options for a particular AsyncTaskQueue.

static

class Options
extends ConfigOptions

Instance Members

  • parallelThe number of tasks that can be started (asynchronously) in parallel, defaults to 1.
  • catchErrorsTrue if errors should be added to AsyncTaskQueue.errors instead of being handled globally.
  • maxSyncTimeThe amount of time (in milliseconds) to run tasks within a synchronous loop, before rescheduling other pending tasks asynchronously, defaults to 100ms.
  • throttleDelayA delay (in milliseconds) to be added between batches of tasks, defaults to zero.
  • taskTimeoutA timeout value (in milliseconds) for each task, if any.

Related