Function delByFunction

    • will delete all jobs in the given queue of the named function/class
    • will not prevent new jobs from being added as this method is running
    • will not delete jobs in the delayed queues


    • q: Which queue/priority is to run on?
    • taskName: The name of the job, likely to be the same name as a tak.
    • start? - starting position of task count to remove
    • stop? - stop position of task count to remove


    • q: string
    • taskName: string
    • Optional start: number
    • Optional stop: number

    Returns Promise<number>

Generated using TypeDoc