Hierarchy

Constructors

  • Parameters

    • name: string
    • Optional opts: QueueBaseOptions
    • Optional Connection: typeof RedisConnection

    Returns Repeat

Properties

closing: Promise<void>
keys: KeysMap
name: string
opts: QueueBaseOptions
toKey: ((type) => string)

Type declaration

    • (type): string
    • Parameters

      • type: string

      Returns string

Accessors

  • get client(): Promise<RedisClient>
  • Returns Promise<RedisClient>

  • get redisVersion(): string
  • Returns string

Methods

  • Type Parameters

    • T = any

    • R = any

    • N extends string = string

    Parameters

    • name: N
    • data: T
    • opts: JobsOptions
    • Optional skipCheckExists: boolean

    Returns Promise<Job<T, R, N>>

  • Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • event: string | symbol
    • Rest ...args: any[]

    Returns boolean

  • Returns Promise<number>

  • Parameters

    • Optional start: number
    • Optional end: number
    • Optional asc: boolean

    Returns Promise<{
        cron: string;
        endDate: number;
        id: string;
        key: string;
        name: string;
        next: number;
        tz: string;
    }[]>

  • Parameters

    • name: string
    • repeat: RepeatOptions
    • Optional jobId: string

    Returns Promise<void>

  • Parameters

    • repeatJobKey: string

    Returns Promise<void>

Generated using TypeDoc