clean-jsdoc-theme API

Task

Source: queue.js:16

A unit of work the Queue can run.

Properties

  • id (string) — Stable identifier for the task.
  • priority (Priority, optional, default: "Priority.NORMAL") — Relative scheduling weight.
  • run (TaskHandler) — The function invoked when the task is scheduled.

Type

Object