Function delDelayed

  • Delete all previously enqueued tasks, which haven't been run yet, from all possible delayed timestamps. Will throw an error if redis cannot be reached.

    Inputs:

    • q: Which queue/priority is to run on?
    • taskName: The name of the job, likely to be the same name as a tak.
    • inputs The arguments of the job. Note, arguments passed to a Task initially may be modified when enqueuing. It is best to read job properties first via api.tasks.delayedAt or similar method.

    Parameters

    • q: string
    • taskName: string
    • Optionalinputs: TaskInputs

    Returns Promise<number[]>