Function scheduledAt

  • Return the timestamps a task is scheduled for. 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
    • inputs: TaskInputs

    Returns Promise<number[]>