Function queued

  • Retrieve the details of jobs enqueued on a certain queue between start and stop (0-indexed) Will throw an error if redis cannot be reached.

    Inputs:

    • q The name of the queue.
    • start The index of the first job to return.
    • stop The index of the last job to return.

    Parameters

    • q: string
    • start: number
    • stop: number

    Returns Promise<TaskInputs[]>