diff --git a/classes/v5.AsyncFifoQueue.html b/classes/v5.AsyncFifoQueue.html index 09e7d0fc17..abc574f37d 100644 --- a/classes/v5.AsyncFifoQueue.html +++ b/classes/v5.AsyncFifoQueue.html @@ -1,11 +1,11 @@ AsyncFifoQueue | bullmq - v5.34.4

Class AsyncFifoQueue<T>

AsyncFifoQueue

A minimal FIFO queue for asynchronous operations. Allows adding asynchronous operations and consume them in the order they are resolved.

-

Type Parameters

  • T

Constructors

Type Parameters

  • T

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.Backoffs.html b/classes/v5.Backoffs.html index 4bae5b41c7..4af23235e9 100644 --- a/classes/v5.Backoffs.html +++ b/classes/v5.Backoffs.html @@ -1,5 +1,5 @@ -Backoffs | bullmq - v5.34.4

Class Backoffs

Constructors

constructor +Backoffs | bullmq - v5.34.4

Class Backoffs

Constructors

Properties

Methods

Constructors

Properties

builtinStrategies: BuiltInStrategies = ...

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

builtinStrategies: BuiltInStrategies = ...

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.Child.html b/classes/v5.Child.html index 2131e6fd2d..317fbdccdf 100644 --- a/classes/v5.Child.html +++ b/classes/v5.Child.html @@ -1,7 +1,7 @@ Child | bullmq - v5.34.4

Class Child

Child class

This class is used to create a child process or worker thread, and allows using isolated processes or threads for processing jobs.

-

Hierarchy

  • EventEmitter
    • Child

Constructors

Hierarchy

  • EventEmitter
    • Child

Constructors

Properties

Constructors

Properties

childProcess: ChildProcess
processFile: string
worker: Worker

Accessors

Methods

  • Parameters

    • signal: "SIGKILL" | "SIGTERM" = 'SIGKILL'
    • Optional timeoutMs: number

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

childProcess: ChildProcess
processFile: string
worker: Worker

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.ChildPool.html b/classes/v5.ChildPool.html index 6a2716a8d6..605fa3788d 100644 --- a/classes/v5.ChildPool.html +++ b/classes/v5.ChildPool.html @@ -1,4 +1,4 @@ -ChildPool | bullmq - v5.34.4

Class ChildPool

Constructors

constructor +ChildPool | bullmq - v5.34.4

Class ChildPool

Constructors

Properties

Methods

clean @@ -8,4 +8,4 @@ release remove retain -

Constructors

Properties

free: {
    [key: string]: Child[];
} = {}

Type declaration

retained: {
    [key: number]: Child;
} = {}

Type declaration

Methods

  • Parameters

    • child: Child
    • signal: "SIGKILL" | "SIGTERM" = 'SIGKILL'

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

free: {
    [key: string]: Child[];
} = {}

Type declaration

retained: {
    [key: number]: Child;
} = {}

Type declaration

Methods

  • Parameters

    • child: Child
    • signal: "SIGKILL" | "SIGTERM" = 'SIGKILL'

    Returns Promise<void>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.ChildProcessor.html b/classes/v5.ChildProcessor.html index bc4f69b51d..041ff9e1d9 100644 --- a/classes/v5.ChildProcessor.html +++ b/classes/v5.ChildProcessor.html @@ -1,7 +1,7 @@ ChildProcessor | bullmq - v5.34.4

Class ChildProcessor

ChildProcessor

This class acts as the interface between a child process and it parent process so that jobs can be processed in different processes.

-

Constructors

Constructors

Properties

currentJobPromise: Promise<unknown>
processor: any
status?: ChildStatus

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

currentJobPromise: Promise<unknown>
processor: any
status?: ChildStatus

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.DelayedError.html b/classes/v5.DelayedError.html index 00730d7e99..24ad4c821f 100644 --- a/classes/v5.DelayedError.html +++ b/classes/v5.DelayedError.html @@ -1,5 +1,5 @@ DelayedError | bullmq - v5.34.4

Class DelayedError

DelayedError

Error to be thrown when job is moved to delayed state from job in active state.

-

Hierarchy

  • Error
    • DelayedError

Constructors

Constructors

Generated using TypeDoc

\ No newline at end of file +

Hierarchy

Constructors

Constructors

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.FlowProducer.html b/classes/v5.FlowProducer.html index c3855262e3..754c846739 100644 --- a/classes/v5.FlowProducer.html +++ b/classes/v5.FlowProducer.html @@ -4,7 +4,7 @@ Whenever the children of a given parent are completed, the parent will be processed, being able to access the children's result data. All Jobs can be in different queues, either children or parents,

-

Hierarchy

Constructors

Hierarchy

  • EventEmitter
    • FlowProducer

Constructors

Properties

closing keys opts @@ -21,14 +21,14 @@ on once waitUntilReady -

Constructors

Properties

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

Type declaration

    • (name, type): string
    • Parameters

      • name: string
      • type: string

      Returns string

Accessors

Methods

  • Adds a flow.

    +

Constructors

Properties

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

Type declaration

    • (name, type): string
    • Parameters

      • name: string
      • type: string

      Returns string

Accessors

Methods

Returns Promise<JobNode>

Returns Promise<JobNode[]>

Generated using TypeDoc

\ No newline at end of file +

Returns Promise<JobNode>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/v5.Job.html b/classes/v5.Job.html index 10a1cac1e9..bb9b9179f2 100644 --- a/classes/v5.Job.html +++ b/classes/v5.Job.html @@ -3,7 +3,7 @@ you add a job to the queue with methods such as Queue.addJob( ... )

A Job instance is also passed to the Worker's process function.

Job

-

Type Parameters

Implements

Constructors

Type Parameters

  • DataType = any
  • ReturnType = any
  • NameType extends string = string

Implements

Constructors

Properties

attemptsMade attemptsStarted data @@ -72,146 +72,146 @@

Constructors

Properties

attemptsMade: number = 0

Number of attempts after the job has failed.

+
  • Optional id: string
  • Returns Job<DataType, ReturnType, NameType>

    Properties

    attemptsMade: number = 0

    Number of attempts after the job has failed.

    Default Value

    0
     
    -
    attemptsStarted: number = 0

    Number of attempts when job is moved to active.

    +
    attemptsStarted: number = 0

    Number of attempts when job is moved to active.

    Default Value

    0
     
    -
    data: DataType

    The payload for this job.

    -
    debounceId?: string

    Debounce identifier.

    +
    data: DataType

    The payload for this job.

    +
    debounceId?: string

    Debounce identifier.

    Deprecated

    use deduplicationId

    -
    deduplicationId?: string

    Deduplication identifier.

    -
    delay: number = 0

    An amount of milliseconds to wait until this job can be processed.

    +
    deduplicationId?: string

    Deduplication identifier.

    +
    delay: number = 0

    An amount of milliseconds to wait until this job can be processed.

    Default Value

    0
     
    -
    failedReason: string

    Reason for failing.

    -
    finishedOn?: number

    Timestamp for when the job finished (completed or failed).

    -
    id?: string
    name: NameType

    The name of the Job

    -
    nextRepeatableJobId?: string

    Produced next repetable job Id.

    -
    opts: JobsOptions = {}

    The options object for this job.

    -
    parent?: ParentKeys

    Object that contains parentId (id) and parent queueKey.

    -
    parentKey?: string

    Fully qualified key (including the queue prefix) pointing to the parent of this job.

    -
    priority: number = 0

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that +

    failedReason: string

    Reason for failing.

    +
    finishedOn?: number

    Timestamp for when the job finished (completed or failed).

    +
    id?: string
    name: NameType

    The name of the Job

    +
    nextRepeatableJobId?: string

    Produced next repetable job Id.

    +
    opts: JobsOptions = {}

    The options object for this job.

    +
    parent?: ParentKeys

    Object that contains parentId (id) and parent queueKey.

    +
    parentKey?: string

    Fully qualified key (including the queue prefix) pointing to the parent of this job.

    +
    priority: number = 0

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that using priorities has a slight impact on performance, so do not use it if not required.

    Default Value

    0
     
    -
    processedBy?: string

    The worker name that is processing or processed this job.

    -
    processedOn?: number

    Timestamp for when the job was processed.

    -
    progress: number | object = 0

    The progress a job has performed so far.

    +
    processedBy?: string

    The worker name that is processing or processed this job.

    +
    processedOn?: number

    Timestamp for when the job was processed.

    +
    progress: number | object = 0

    The progress a job has performed so far.

    Default Value

    0
     
    -
    queueQualifiedName: string

    It includes the prefix, the namespace separator :, and queue name.

    +
    queueQualifiedName: string

    It includes the prefix, the namespace separator :, and queue name.

    repeatJobKey?: string

    Base repeat job key.

    -
    returnvalue: ReturnType = null

    The value returned by the processor when processing this job.

    +
    repeatJobKey?: string

    Base repeat job key.

    +
    returnvalue: ReturnType = null

    The value returned by the processor when processing this job.

    Default Value

    null
     
    -
    stacktrace: string[] = null

    Stacktrace for the error (for failed jobs).

    +
    stacktrace: string[] = null

    Stacktrace for the error (for failed jobs).

    Default Value

    null
     
    -
    timestamp: number

    Timestamp when the job was created (unless overridden with job options).

    -
    token?: string

    The token used for locking this job.

    -

    Accessors

    Methods

    timestamp: number

    Timestamp when the job was created (unless overridden with job options).

    +
    token?: string

    The token used for locking this job.

    +

    Accessors

    Methods

    Returns Promise<void>

    Returns Promise<number>

    Returns Promise<void>

    Returns Promise<void>

    Returns Promise<void>

    Returns Promise<void>

    Returns Promise<ReturnType>

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

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

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

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Job<T, R, N>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.JobScheduler.html b/classes/v5.JobScheduler.html index 5936b613da..5ead489f02 100644 --- a/classes/v5.JobScheduler.html +++ b/classes/v5.JobScheduler.html @@ -1,7 +1,7 @@ JobScheduler | bullmq - v5.34.4

    Class JobScheduler

    QueueBase

    Description

    Base class for all classes that need to interact with queues. This class is normally not used directly, but extended by the other classes.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      -

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      +

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      +

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      Parameters

      • event: string | symbol

        The emitted event.

        -
      • Rest ...args: any[]

      Returns boolean

    • Parameters

      • jobSchedulerId: string

      Returns Promise<number>

    • Wraps the code with telemetry and provides a span for configuration.

      +
    • Rest ...args: any[]

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.Queue.html b/classes/v5.Queue.html index 9a4c770511..4a79fdada4 100644 --- a/classes/v5.Queue.html +++ b/classes/v5.Queue.html @@ -6,7 +6,7 @@

    Type Parameters

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    closing: Promise<void>
    jobsOpts: BaseJobOptions
    keys: KeysMap
    name: string

    The name of the queue.

    -

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    token: string = ...

    Accessors

    • get metaValues(): Record<string, string | number>
    • Returns Record<string, string | number>

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    Constructors

    Properties

    closing: Promise<void>
    jobsOpts: BaseJobOptions
    keys: KeysMap
    name: string

    The name of the queue.

    +

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    token: string = ...

    Accessors

    Methods

    Returns Promise<Job<DataType, ResultType, NameType>>

    Returns Promise<Job<DataType, ResultType, NameType>[]>

    Returns Promise<void>

    Returns boolean

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<string>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<{
        items: {
            err?: string;
            id: string;
            v?: any;
        }[];
        jobs: JobJsonRaw[];
        total: number;
    }>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<{
        count: number;
        logs: string[];
    }>

    Returns Promise<JobSchedulerJson<DataType>>

    Returns Promise<JobSchedulerJson<DataType>[]>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<Metrics>

    -

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<JobBase<DataTypeOrJob, ResultType, NameType>[]>

    Returns Promise<void>

    Returns Promise<void>

    Returns Promise<number>

    Returns Promise<number>

    Returns Promise<T | Promise<T>>

    Returns Promise<void>

    Returns Promise<Job<DataType, ResultType, NameType>>

    The next job to be scheduled (would normally be in delayed state).

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.QueueBase.html b/classes/v5.QueueBase.html index 4cb3446a6c..2c84715625 100644 --- a/classes/v5.QueueBase.html +++ b/classes/v5.QueueBase.html @@ -1,7 +1,7 @@ QueueBase | bullmq - v5.34.4

    Class QueueBase

    QueueBase

    Description

    Base class for all classes that need to interact with queues. This class is normally not used directly, but extended by the other classes.

    -

    Hierarchy (view full)

    Implements

    Constructors

    Hierarchy (view full)

    Implements

    Constructors

    Properties

    closing keys name @@ -19,17 +19,17 @@
  • opts: QueueBaseOptions = ...

    Options for the queue.

  • Connection: typeof RedisConnection = RedisConnection

    An optional "Connection" class used to instantiate a Connection. This is useful for testing with mockups and/or extending the Connection class and passing an alternate implementation.

    -
  • hasBlockingConnection: boolean = false
  • Returns QueueBase

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      -

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      +
    • hasBlockingConnection: boolean = false

    Returns QueueBase

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      +

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      Parameters

      • event: string | symbol

        The emitted event.

        -
      • Rest ...args: any[]

      Returns boolean

    • Wraps the code with telemetry and provides a span for configuration.

      +
    • Rest ...args: any[]

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.QueueEvents.html b/classes/v5.QueueEvents.html index 6f9be7e46d..84f882d23a 100644 --- a/classes/v5.QueueEvents.html +++ b/classes/v5.QueueEvents.html @@ -1,7 +1,7 @@ QueueEvents | bullmq - v5.34.4

    Class QueueEvents

    The QueueEvents class is used for listening to the global events emitted by a given queue.

    This class requires a dedicated redis connection.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    closing keys name @@ -19,19 +19,19 @@ run trace waitUntilReady -

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Emits an event. Normally used by subclasses to emit events.

      +

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Manually starts running the event consumming loop. This shall be used if you do not +

    • Rest ...args: CustomParameters<QEL[U]>

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.QueueEventsProducer.html b/classes/v5.QueueEventsProducer.html index 9ede29874a..7c03cee1dc 100644 --- a/classes/v5.QueueEventsProducer.html +++ b/classes/v5.QueueEventsProducer.html @@ -1,5 +1,5 @@ QueueEventsProducer | bullmq - v5.34.4

    Class QueueEventsProducer

    The QueueEventsProducer class is used for publishing custom events.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Emits an event. Normally used by subclasses to emit events.

      +

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Emits an event. Normally used by subclasses to emit events.

      Parameters

      • event: string | symbol

        The emitted event.

        -
      • Rest ...args: any[]

      Returns boolean

    • Publish custom event to be processed in QueueEvents.

      +
    • Rest ...args: any[]

    Returns boolean

    Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.QueueGetters.html b/classes/v5.QueueGetters.html index bb6e54274a..9153f925e5 100644 --- a/classes/v5.QueueGetters.html +++ b/classes/v5.QueueGetters.html @@ -1,6 +1,6 @@ QueueGetters | bullmq - v5.34.4

    Class QueueGetters<JobBase>

    QueueGetters

    Description

    Provides different getters for different aspects of a queue.

    -

    Type Parameters

    Hierarchy (view full)

    Constructors

    Type Parameters

    Hierarchy (view full)

    Constructors

    Properties

    closing keys name @@ -49,35 +49,35 @@
  • opts: QueueBaseOptions = ...

    Options for the queue.

  • Connection: typeof RedisConnection = RedisConnection

    An optional "Connection" class used to instantiate a Connection. This is useful for testing with mockups and/or extending the Connection class and passing an alternate implementation.

    -
  • hasBlockingConnection: boolean = false
  • Returns QueueGetters<JobBase>

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      -

      Returns Promise<void>

    • Returns the number of jobs waiting to be processed. This includes jobs that are +

    • hasBlockingConnection: boolean = false

    Returns QueueGetters<JobBase>

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      +

      Returns Promise<void>

    • Returns the number of jobs waiting to be processed. This includes jobs that are "waiting" or "delayed" or "prioritized" or "waiting-children".

      -

      Returns Promise<number>

    • Emits an event. Normally used by subclasses to emit events.

      +

      Returns Promise<number>

    • Emits an event. Normally used by subclasses to emit events.

      Parameters

      • event: string | symbol

        The emitted event.

        -
      • Rest ...args: any[]

      Returns boolean

    • Returns the jobs that are in the "active" status.

      +
    • Rest ...args: any[]

    Returns boolean

    Returns Promise<JobBase[]>

    Returns Promise<JobBase[]>

    Returns Promise<string>

    Returns Promise<JobBase[]>

    Returns Promise<{
        items: {
            err?: string;
            id: string;
            v?: any;
        }[];
        jobs: JobJsonRaw[];
        total: number;
    }>

    Returns Promise<JobBase[]>

    Returns Promise<{
        count: number;
        logs: string[];
    }>

    Returns Promise<JobBase[]>

    Returns Promise<Metrics>

    -

    Returns Promise<JobBase[]>

    Returns Promise<JobBase[]>

    Returns Promise<JobBase[]>

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.QueueKeys.html b/classes/v5.QueueKeys.html index 43abad9fb5..3cd00c696a 100644 --- a/classes/v5.QueueKeys.html +++ b/classes/v5.QueueKeys.html @@ -1,6 +1,6 @@ -QueueKeys | bullmq - v5.34.4

    Class QueueKeys

    Constructors

    constructor +QueueKeys | bullmq - v5.34.4

    Class QueueKeys

    Constructors

    Properties

    Methods

    Constructors

    Properties

    prefix: string = 'bull'

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    prefix: string = 'bull'

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.RateLimitError.html b/classes/v5.RateLimitError.html index dfb9dc9138..d74813917e 100644 --- a/classes/v5.RateLimitError.html +++ b/classes/v5.RateLimitError.html @@ -1,4 +1,4 @@ RateLimitError | bullmq - v5.34.4

    Class RateLimitError

    RateLimitError

    Error to be thrown when queue reaches a rate limit.

    -

    Hierarchy

    • Error
      • RateLimitError

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.RedisConnection.html b/classes/v5.RedisConnection.html index 7ecb504f2e..97d6fc5330 100644 --- a/classes/v5.RedisConnection.html +++ b/classes/v5.RedisConnection.html @@ -1,4 +1,4 @@ -RedisConnection | bullmq - v5.34.4

    Class RedisConnection

    Hierarchy

    • EventEmitter
      • RedisConnection

    Constructors

    constructor +RedisConnection | bullmq - v5.34.4

    Class RedisConnection

    Hierarchy

    • EventEmitter
      • RedisConnection

    Constructors

    Properties

    Constructors

    Properties

    capabilities: RedisCapabilities = ...
    closing: boolean
    status: "closed" | "closing" | "ready" | "initializing" = 'initializing'
    minimumVersion: string = '5.0.0'
    recommendedMinimumVersion: string = '6.2.0'

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    capabilities: RedisCapabilities = ...
    closing: boolean
    status: "closed" | "closing" | "ready" | "initializing" = 'initializing'
    minimumVersion: string = '5.0.0'
    recommendedMinimumVersion: string = '6.2.0'

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.Repeat.html b/classes/v5.Repeat.html index f411492513..543bf9a64f 100644 --- a/classes/v5.Repeat.html +++ b/classes/v5.Repeat.html @@ -1,7 +1,7 @@ Repeat | bullmq - v5.34.4

    Class Repeat

    QueueBase

    Description

    Base class for all classes that need to interact with queues. This class is normally not used directly, but extended by the other classes.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    -
    opts: QueueBaseOptions = ...

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      -

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      +

    Constructors

    Properties

    closing: Promise<void>
    keys: KeysMap
    name: string

    The name of the queue.

    +
    opts: QueueBaseOptions = ...

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Closes the connection and returns a promise that resolves when the connection is closed.

      +

      Returns Promise<void>

    • Emits an event. Normally used by subclasses to emit events.

      Parameters

      • event: string | symbol

        The emitted event.

        -
      • Rest ...args: any[]

      Returns boolean

    • Type Parameters

      • T = any
      • N extends string = string

      Parameters

      • name: N
      • nextMillis: number
      • repeatJobKey: string
      • data: T

      Returns string

    • Parameters

      Returns Promise<number>

    • Parameters

      • repeatJobKey: string

      Returns Promise<number>

    • Wraps the code with telemetry and provides a span for configuration.

      +
    • Rest ...args: any[]

    Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.Scripts.html b/classes/v5.Scripts.html index 1958b5a847..397a16918a 100644 --- a/classes/v5.Scripts.html +++ b/classes/v5.Scripts.html @@ -1,4 +1,4 @@ -Scripts | bullmq - v5.34.4

    Class Scripts

    Constructors

    constructor +Scripts | bullmq - v5.34.4

    Class Scripts

    Constructors

    Properties

    moveToFinishedKeys: string[]

    Methods

    • Parameters

      • jobId: string
      • logRow: string
      • Optional keepLogs: number

      Returns Promise<number>

    • Parameters

      Returns Promise<string>

    • Parameters

      • jobId: string
      • delay: number

      Returns Promise<void>

    • Parameters

      • jobId: string
      • priority: number = 0
      • lifo: boolean = false

      Returns Promise<void>

    • Remove jobs in a specific state.

      +

    Constructors

    Properties

    moveToFinishedKeys: string[]

    Methods

    • Parameters

      • jobId: string
      • logRow: string
      • Optional keepLogs: number

      Returns Promise<number>

    • Parameters

      Returns Promise<string>

    • Parameters

      • jobId: string
      • delay: number

      Returns Promise<void>

    • Parameters

      • jobId: string
      • priority: number = 0
      • lifo: boolean = false

      Returns Promise<void>

    • Remove jobs in a specific state.

      Parameters

      • set: string
      • timestamp: number
      • limit: number = 0

      Returns Promise<string[]>

      Id jobs from the deleted records.

      -
    • Parameters

      • client: ChainableCommander | RedisClient
      • commandName: string
      • args: any[]

      Returns any

    • Parameters

      • jobId: string
      • token: string
      • duration: number
      • Optional client: ChainableCommander | RedisClient

      Returns Promise<number>

    • Parameters

      • jobIds: string[]
      • tokens: string[]
      • duration: number

      Returns Promise<string[]>

    • Parameters

      • __namedParameters: {
            code: number;
            command: string;
            jobId?: string;
            parentKey?: string;
            state?: string;
        }
        • code: number
        • command: string
        • Optional jobId?: string
        • Optional parentKey?: string
        • Optional state?: string

      Returns Error

    • Parameters

      • priorities: number[]

      Returns Promise<number[]>

    • Parameters

      • id: string

      Returns Promise<[any, string]>

    • Parameters

      • types: JobType[]
      • start: number = 0
      • end: number = 1
      • asc: boolean = false

      Returns Promise<[string][]>

    • Parameters

      • Optional maxJobs: number

      Returns Promise<number>

    • Parameters

      • Optional maxJobs: number

      Returns (string | number)[]

    • Parameters

      • repeatConcatOptions: string
      • repeatJobKey: string

      Returns string

    • Parameters

      • jobId: string
      • returnValue: boolean = false

      Returns Promise<number | [number, string]>

    • Parameters

      • listKey: string
      • jobId: string

      Returns Promise<boolean>

    • Moves a job back from Active to Wait. +

    • Parameters

      • client: ChainableCommander | RedisClient
      • commandName: string
      • args: any[]

      Returns any

    • Parameters

      • jobId: string
      • token: string
      • duration: number
      • Optional client: ChainableCommander | RedisClient

      Returns Promise<number>

    • Parameters

      • jobIds: string[]
      • tokens: string[]
      • duration: number

      Returns Promise<string[]>

    • Parameters

      • __namedParameters: {
            code: number;
            command: string;
            jobId?: string;
            parentKey?: string;
            state?: string;
        }
        • code: number
        • command: string
        • Optional jobId?: string
        • Optional parentKey?: string
        • Optional state?: string

      Returns Error

    • Parameters

      • priorities: number[]

      Returns Promise<number[]>

    • Parameters

      • id: string

      Returns Promise<[any, string]>

    • Parameters

      • types: JobType[]
      • start: number = 0
      • end: number = 1
      • asc: boolean = false

      Returns Promise<[string][]>

    • Parameters

      • Optional maxJobs: number

      Returns Promise<number>

    • Parameters

      • Optional maxJobs: number

      Returns (string | number)[]

    • Parameters

      • repeatConcatOptions: string
      • repeatJobKey: string

      Returns string

    • Parameters

      • jobId: string
      • returnValue: boolean = false

      Returns Promise<number | [number, string]>

    • Parameters

      • listKey: string
      • jobId: string

      Returns Promise<boolean>

    • Moves a job back from Active to Wait. This script is used when a job has been manually rate limited and needs to be moved back to wait from active status.

      Parameters

      • jobId: string

        Job id

        -
      • token: string

      Returns Promise<any>

    • Looks for unlocked jobs in the active queue.

      +
    • token: string

    Returns Promise<any>

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.UnrecoverableError.html b/classes/v5.UnrecoverableError.html index 75b8f72922..ddb3578644 100644 --- a/classes/v5.UnrecoverableError.html +++ b/classes/v5.UnrecoverableError.html @@ -1,5 +1,5 @@ UnrecoverableError | bullmq - v5.34.4

    Class UnrecoverableError

    UnrecoverableError

    Error to move a job to failed even if the attemptsMade are lower than the expected limit.

    -

    Hierarchy

    • Error
      • UnrecoverableError

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.WaitingChildrenError.html b/classes/v5.WaitingChildrenError.html index e0b408cb39..21dd6d03f6 100644 --- a/classes/v5.WaitingChildrenError.html +++ b/classes/v5.WaitingChildrenError.html @@ -1,5 +1,5 @@ WaitingChildrenError | bullmq - v5.34.4

    Class WaitingChildrenError

    WaitingChildrenError

    Error to be thrown when job is moved to waiting-children state from job in active state.

    -

    Hierarchy

    • Error
      • WaitingChildrenError

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Constructors

    Constructors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/classes/v5.Worker.html b/classes/v5.Worker.html index 738a6e825e..d27d967ae6 100644 --- a/classes/v5.Worker.html +++ b/classes/v5.Worker.html @@ -1,7 +1,7 @@ Worker | bullmq - v5.34.4

    Class Worker<DataType, ResultType, NameType>

    This class represents a worker that is able to process jobs from the queue. As soon as the class is instantiated and a connection to Redis is established it will start processing jobs.

    -

    Type Parameters

    • DataType = any
    • ResultType = any
    • NameType extends string = string

    Hierarchy (view full)

    Constructors

    Type Parameters

    • DataType = any
    • ResultType = any
    • NameType extends string = string

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    closing: Promise<void>
    id: string
    keys: KeysMap
    name: string

    The name of the queue.

    -

    Options for the queue.

    -
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      -

      Returns string

    Methods

    • Closes the worker and related redis connections.

      +

    Constructors

    Properties

    closing: Promise<void>
    id: string
    keys: KeysMap
    name: string

    The name of the queue.

    +

    Options for the queue.

    +
    qualifiedName: string
    toKey: ((type) => string)

    Type declaration

      • (type): string
      • Parameters

        • type: string

        Returns string

    Accessors

    • get redisVersion(): string
    • Returns the version of the Redis instance the client is connected to,

      +

      Returns string

    Methods

    • Closes the worker and related redis connections.

      This method waits for current jobs to finalize before returning.

      Parameters

      • force: boolean = false

        Use force boolean parameter if you do not want to wait for current jobs to be processed. When using telemetry, be mindful that it can interfere with the proper closure of spans, potentially preventing them from being exported.

      Returns Promise<void>

      Promise that resolves when the worker has been closed.

      -
    • This function is exposed only for testing purposes.

      -

      Parameters

      • Optional milliseconds: number
      • Optional abortController: AbortController

      Returns Promise<void>

    • This function is exposed only for testing purposes.

      +

      Parameters

      • Optional milliseconds: number
      • Optional abortController: AbortController

      Returns Promise<void>

    Returns boolean

    Returns Promise<T | Promise<T>>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Promise<RedisClient>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.ChildCommand.html b/enums/v5.ChildCommand.html index 80c679669a..7e5c84812b 100644 --- a/enums/v5.ChildCommand.html +++ b/enums/v5.ChildCommand.html @@ -1,4 +1,4 @@ -ChildCommand | bullmq - v5.34.4

    Enumeration ChildCommand

    Enumeration Members

    Init +ChildCommand | bullmq - v5.34.4

    Enumeration ChildCommand

    Enumeration Members

    Enumeration Members

    Init: 0
    Start: 1
    Stop: 2

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    Init: 0
    Start: 1
    Stop: 2

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.ClientType.html b/enums/v5.ClientType.html index 30c854c20e..8ad9205997 100644 --- a/enums/v5.ClientType.html +++ b/enums/v5.ClientType.html @@ -1,3 +1,3 @@ -ClientType | bullmq - v5.34.4

    Enumeration ClientType

    Enumeration Members

    blocking +ClientType | bullmq - v5.34.4

    Enumeration ClientType

    Enumeration Members

    Enumeration Members

    blocking: "blocking"
    normal: "normal"

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    blocking: "blocking"
    normal: "normal"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.ErrorCode.html b/enums/v5.ErrorCode.html index f24f124d01..22a52dae7b 100644 --- a/enums/v5.ErrorCode.html +++ b/enums/v5.ErrorCode.html @@ -1,4 +1,4 @@ -ErrorCode | bullmq - v5.34.4

    Enumeration ErrorCode

    Enumeration Members

    JobBelongsToJobScheduler +ErrorCode | bullmq - v5.34.4

    Enumeration ErrorCode

    Enumeration Members

    JobBelongsToJobScheduler: -8
    JobLockMismatch: -6
    JobLockNotExist: -2
    JobNotExist: -1
    JobNotInState: -3
    JobPendingDependencies: -4
    ParentJobCannotBeReplaced: -7
    ParentJobNotExist: -5

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    JobBelongsToJobScheduler: -8
    JobLockMismatch: -6
    JobLockNotExist: -2
    JobNotExist: -1
    JobNotInState: -3
    JobPendingDependencies: -4
    ParentJobCannotBeReplaced: -7
    ParentJobNotExist: -5

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.MetricsTime.html b/enums/v5.MetricsTime.html index f30582c619..f46744e260 100644 --- a/enums/v5.MetricsTime.html +++ b/enums/v5.MetricsTime.html @@ -1,4 +1,4 @@ -MetricsTime | bullmq - v5.34.4

    Enumeration MetricsTime

    Enumeration Members

    FIFTEEN_MINUTES +MetricsTime | bullmq - v5.34.4

    Enumeration MetricsTime

    Enumeration Members

    FIFTEEN_MINUTES: 15
    FIVE_MINUTES: 5
    ONE_HOUR: 60
    ONE_MINUTE: 1
    ONE_MONTH: 80640
    ONE_WEEK: 10080
    THIRTY_MINUTES: 30
    TWO_WEEKS: 20160

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    FIFTEEN_MINUTES: 15
    FIVE_MINUTES: 5
    ONE_HOUR: 60
    ONE_MINUTE: 1
    ONE_MONTH: 80640
    ONE_WEEK: 10080
    THIRTY_MINUTES: 30
    TWO_WEEKS: 20160

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.ParentCommand.html b/enums/v5.ParentCommand.html index de47c6a89a..e1e9b4cfc6 100644 --- a/enums/v5.ParentCommand.html +++ b/enums/v5.ParentCommand.html @@ -1,4 +1,4 @@ -ParentCommand | bullmq - v5.34.4

    Enumeration ParentCommand

    Enumeration Members

    Completed +ParentCommand | bullmq - v5.34.4

    Enumeration ParentCommand

    Enumeration Members

    Enumeration Members

    Completed: 0
    Error: 1
    Failed: 2
    InitCompleted: 4
    InitFailed: 3
    Log: 5
    MoveToDelayed: 6
    Progress: 7
    Update: 8

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    Completed: 0
    Error: 1
    Failed: 2
    InitCompleted: 4
    InitFailed: 3
    Log: 5
    MoveToDelayed: 6
    Progress: 7
    Update: 8

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.SpanKind.html b/enums/v5.SpanKind.html index dc4d7d15ef..9a01900c9a 100644 --- a/enums/v5.SpanKind.html +++ b/enums/v5.SpanKind.html @@ -1,6 +1,6 @@ -SpanKind | bullmq - v5.34.4

    Enumeration SpanKind

    Enumeration Members

    CLIENT +SpanKind | bullmq - v5.34.4

    Enumeration SpanKind

    Enumeration Members

    Enumeration Members

    CLIENT: 2
    CONSUMER: 4
    INTERNAL: 0
    PRODUCER: 3
    SERVER: 1

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    CLIENT: 2
    CONSUMER: 4
    INTERNAL: 0
    PRODUCER: 3
    SERVER: 1

    Generated using TypeDoc

    \ No newline at end of file diff --git a/enums/v5.TelemetryAttributes.html b/enums/v5.TelemetryAttributes.html index c62c8b61c8..1c21b8e067 100644 --- a/enums/v5.TelemetryAttributes.html +++ b/enums/v5.TelemetryAttributes.html @@ -1,4 +1,4 @@ -TelemetryAttributes | bullmq - v5.34.4

    Enumeration TelemetryAttributes

    Enumeration Members

    BulkCount +TelemetryAttributes | bullmq - v5.34.4

    Enumeration TelemetryAttributes

    Enumeration Members

    BulkCount: "bullmq.job.bulk.count"
    BulkNames: "bullmq.job.bulk.names"
    DeduplicationKey: "bullmq.job.deduplication.key"
    FlowName: "bullmq.flow.name"
    JobFailedReason: "bullmq.job.failed.reason"
    JobFinishedTimestamp: "bullmq.job.finished.timestamp"
    JobId: "bullmq.job.id"
    JobIds: "bullmq.job.ids"
    JobKey: "bullmq.job.key"
    JobName: "bullmq.job.name"
    JobOptions: "bullmq.job.options"
    JobProcessedTimestamp: "bullmq.job.processed.timestamp"
    JobProgress: "bullmq.job.progress"
    JobResult: "bullmq.job.result"
    JobSchedulerId: "bullmq.job.scheduler.id"
    JobType: "bullmq.job.type"
    QueueCleanLimit: "bullmq.queue.clean.limit"
    QueueDrainDelay: "bullmq.queue.drain.delay"
    QueueEventMaxLength: "bullmq.queue.event.max.length"
    QueueGrace: "bullmq.queue.grace"
    QueueName: "bullmq.queue.name"
    QueueOperation: "bullmq.queue.operation"
    QueueOptions: "bullmq.queue.options"
    QueueRateLimit: "bullmq.queue.rate.limit"
    WorkerDoNotWaitActive: "bullmq.worker.do.not.wait.active"
    WorkerFailedJobs: "bullmq.worker.failed.jobs"
    WorkerForceClose: "bullmq.worker.force.close"
    WorkerId: "bullmq.worker.id"
    WorkerJobsToExtendLocks: "bullmq.worker.jobs.to.extend.locks"
    WorkerName: "bullmq.worker.name"
    WorkerOptions: "bullmq.worker.options"
    WorkerRateLimit: "bullmq.worker.rate.limit"
    WorkerStalledJobs: "bullmq.worker.stalled.jobs"

    Generated using TypeDoc

    \ No newline at end of file +

    Enumeration Members

    BulkCount: "bullmq.job.bulk.count"
    BulkNames: "bullmq.job.bulk.names"
    DeduplicationKey: "bullmq.job.deduplication.key"
    FlowName: "bullmq.flow.name"
    JobFailedReason: "bullmq.job.failed.reason"
    JobFinishedTimestamp: "bullmq.job.finished.timestamp"
    JobId: "bullmq.job.id"
    JobIds: "bullmq.job.ids"
    JobKey: "bullmq.job.key"
    JobName: "bullmq.job.name"
    JobOptions: "bullmq.job.options"
    JobProcessedTimestamp: "bullmq.job.processed.timestamp"
    JobProgress: "bullmq.job.progress"
    JobResult: "bullmq.job.result"
    JobSchedulerId: "bullmq.job.scheduler.id"
    JobType: "bullmq.job.type"
    QueueCleanLimit: "bullmq.queue.clean.limit"
    QueueDrainDelay: "bullmq.queue.drain.delay"
    QueueEventMaxLength: "bullmq.queue.event.max.length"
    QueueGrace: "bullmq.queue.grace"
    QueueName: "bullmq.queue.name"
    QueueOperation: "bullmq.queue.operation"
    QueueOptions: "bullmq.queue.options"
    QueueRateLimit: "bullmq.queue.rate.limit"
    WorkerDoNotWaitActive: "bullmq.worker.do.not.wait.active"
    WorkerFailedJobs: "bullmq.worker.failed.jobs"
    WorkerForceClose: "bullmq.worker.force.close"
    WorkerId: "bullmq.worker.id"
    WorkerJobsToExtendLocks: "bullmq.worker.jobs.to.extend.locks"
    WorkerName: "bullmq.worker.name"
    WorkerOptions: "bullmq.worker.options"
    WorkerRateLimit: "bullmq.worker.rate.limit"
    WorkerStalledJobs: "bullmq.worker.stalled.jobs"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.array2obj.html b/functions/v5.array2obj.html index debfc761d8..7eae2c4ce4 100644 --- a/functions/v5.array2obj.html +++ b/functions/v5.array2obj.html @@ -1 +1 @@ -array2obj | bullmq - v5.34.4

    Function array2obj

    • Parameters

      • arr: string[]

      Returns Record<string, string>

    Generated using TypeDoc

    \ No newline at end of file +array2obj | bullmq - v5.34.4

    Function array2obj

    • Parameters

      • arr: string[]

      Returns Record<string, string>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.asyncSend.html b/functions/v5.asyncSend.html index a82c2f7f66..8420adee95 100644 --- a/functions/v5.asyncSend.html +++ b/functions/v5.asyncSend.html @@ -1 +1 @@ -asyncSend | bullmq - v5.34.4

    Function asyncSend

    • Type Parameters

      • T extends procSendLike

      Parameters

      • proc: T
      • msg: any

      Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +asyncSend | bullmq - v5.34.4

    Function asyncSend

    • Type Parameters

      • T extends procSendLike

      Parameters

      • proc: T
      • msg: any

      Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.childSend.html b/functions/v5.childSend.html index cad2d0982f..1261529e7f 100644 --- a/functions/v5.childSend.html +++ b/functions/v5.childSend.html @@ -1 +1 @@ -childSend | bullmq - v5.34.4

    Function childSend

    Generated using TypeDoc

    \ No newline at end of file +childSend | bullmq - v5.34.4

    Function childSend

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.decreaseMaxListeners.html b/functions/v5.decreaseMaxListeners.html index fb4a7ce97f..27973212e2 100644 --- a/functions/v5.decreaseMaxListeners.html +++ b/functions/v5.decreaseMaxListeners.html @@ -1 +1 @@ -decreaseMaxListeners | bullmq - v5.34.4

    Function decreaseMaxListeners

    • Parameters

      • emitter: EventEmitter
      • count: number

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +decreaseMaxListeners | bullmq - v5.34.4

    Function decreaseMaxListeners

    • Parameters

      • emitter: EventEmitter
      • count: number

      Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.defaultRepeatStrategy.html b/functions/v5.defaultRepeatStrategy.html index bdba187f22..fc9534bed6 100644 --- a/functions/v5.defaultRepeatStrategy.html +++ b/functions/v5.defaultRepeatStrategy.html @@ -1 +1 @@ -defaultRepeatStrategy | bullmq - v5.34.4

    Function defaultRepeatStrategy

    Generated using TypeDoc

    \ No newline at end of file +defaultRepeatStrategy | bullmq - v5.34.4

    Function defaultRepeatStrategy

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.delay.html b/functions/v5.delay.html index b8daca01fb..52d5ffbe81 100644 --- a/functions/v5.delay.html +++ b/functions/v5.delay.html @@ -1 +1 @@ -delay | bullmq - v5.34.4

    Function delay

    • Parameters

      • ms: number
      • Optional abortController: AbortController

      Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +delay | bullmq - v5.34.4

    Function delay

    • Parameters

      • ms: number
      • Optional abortController: AbortController

      Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.errorToJSON.html b/functions/v5.errorToJSON.html index 8a4f2ec501..3cd9f85e65 100644 --- a/functions/v5.errorToJSON.html +++ b/functions/v5.errorToJSON.html @@ -1 +1 @@ -errorToJSON | bullmq - v5.34.4

    Function errorToJSON

    • Parameters

      • value: any

      Returns Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file +errorToJSON | bullmq - v5.34.4

    Function errorToJSON

    • Parameters

      • value: any

      Returns Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.getNextMillis.html b/functions/v5.getNextMillis.html index 66f5e94385..11a46f9bcd 100644 --- a/functions/v5.getNextMillis.html +++ b/functions/v5.getNextMillis.html @@ -1 +1 @@ -getNextMillis | bullmq - v5.34.4

    Function getNextMillis

    Generated using TypeDoc

    \ No newline at end of file +getNextMillis | bullmq - v5.34.4

    Function getNextMillis

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.getParentKey.html b/functions/v5.getParentKey.html index 6260311545..04eda5751b 100644 --- a/functions/v5.getParentKey.html +++ b/functions/v5.getParentKey.html @@ -1 +1 @@ -getParentKey | bullmq - v5.34.4

    Function getParentKey

    • Parameters

      • opts: {
            id: string;
            queue: string;
        }
        • id: string
        • queue: string

      Returns string | undefined

    Generated using TypeDoc

    \ No newline at end of file +getParentKey | bullmq - v5.34.4

    Function getParentKey

    • Parameters

      • opts: {
            id: string;
            queue: string;
        }
        • id: string
        • queue: string

      Returns string | undefined

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.increaseMaxListeners.html b/functions/v5.increaseMaxListeners.html index 65c9149a51..326d302337 100644 --- a/functions/v5.increaseMaxListeners.html +++ b/functions/v5.increaseMaxListeners.html @@ -1 +1 @@ -increaseMaxListeners | bullmq - v5.34.4

    Function increaseMaxListeners

    • Parameters

      • emitter: EventEmitter
      • count: number

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +increaseMaxListeners | bullmq - v5.34.4

    Function increaseMaxListeners

    • Parameters

      • emitter: EventEmitter
      • count: number

      Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.invertObject.html b/functions/v5.invertObject.html index c00b94dad6..87b0f236f3 100644 --- a/functions/v5.invertObject.html +++ b/functions/v5.invertObject.html @@ -1 +1 @@ -invertObject | bullmq - v5.34.4

    Function invertObject

    • Type Parameters

      • T extends Record<PropertyKey, PropertyKey>

      Parameters

      • obj: T

      Returns Invert<T>

    Generated using TypeDoc

    \ No newline at end of file +invertObject | bullmq - v5.34.4

    Function invertObject

    • Type Parameters

      • T extends Record<PropertyKey, PropertyKey>

      Parameters

      • obj: T

      Returns Invert<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.isEmpty.html b/functions/v5.isEmpty.html index c244b3ba7b..a87e5b5f6a 100644 --- a/functions/v5.isEmpty.html +++ b/functions/v5.isEmpty.html @@ -1 +1 @@ -isEmpty | bullmq - v5.34.4

    Function isEmpty

    • Parameters

      • obj: object

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +isEmpty | bullmq - v5.34.4

    Function isEmpty

    • Parameters

      • obj: object

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.isNotConnectionError.html b/functions/v5.isNotConnectionError.html index 8d24812106..03e72ac2fe 100644 --- a/functions/v5.isNotConnectionError.html +++ b/functions/v5.isNotConnectionError.html @@ -1 +1 @@ -isNotConnectionError | bullmq - v5.34.4

    Function isNotConnectionError

    • Parameters

      • error: Error

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +isNotConnectionError | bullmq - v5.34.4

    Function isNotConnectionError

    • Parameters

      • error: Error

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.isRedisCluster.html b/functions/v5.isRedisCluster.html index f79e2db3e1..47eb5e5dcd 100644 --- a/functions/v5.isRedisCluster.html +++ b/functions/v5.isRedisCluster.html @@ -1 +1 @@ -isRedisCluster | bullmq - v5.34.4

    Function isRedisCluster

    • Parameters

      • obj: unknown

      Returns obj is Cluster

    Generated using TypeDoc

    \ No newline at end of file +isRedisCluster | bullmq - v5.34.4

    Function isRedisCluster

    • Parameters

      • obj: unknown

      Returns obj is Cluster

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.isRedisInstance.html b/functions/v5.isRedisInstance.html index b8a22de17f..8679bea04d 100644 --- a/functions/v5.isRedisInstance.html +++ b/functions/v5.isRedisInstance.html @@ -1 +1 @@ -isRedisInstance | bullmq - v5.34.4

    Function isRedisInstance

    • Parameters

      • obj: any

      Returns obj is Cluster | Redis

    Generated using TypeDoc

    \ No newline at end of file +isRedisInstance | bullmq - v5.34.4

    Function isRedisInstance

    • Parameters

      • obj: any

      Returns obj is Cluster | Redis

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.isRedisVersionLowerThan.html b/functions/v5.isRedisVersionLowerThan.html index 930c418783..c27ffa3473 100644 --- a/functions/v5.isRedisVersionLowerThan.html +++ b/functions/v5.isRedisVersionLowerThan.html @@ -1 +1 @@ -isRedisVersionLowerThan | bullmq - v5.34.4

    Function isRedisVersionLowerThan

    • Parameters

      • currentVersion: string
      • minimumVersion: string

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +isRedisVersionLowerThan | bullmq - v5.34.4

    Function isRedisVersionLowerThan

    • Parameters

      • currentVersion: string
      • minimumVersion: string

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.lengthInUtf8Bytes.html b/functions/v5.lengthInUtf8Bytes.html index a4d5246add..7376f59c30 100644 --- a/functions/v5.lengthInUtf8Bytes.html +++ b/functions/v5.lengthInUtf8Bytes.html @@ -1,3 +1,3 @@ lengthInUtf8Bytes | bullmq - v5.34.4

    Function lengthInUtf8Bytes

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.objectToFlatArray.html b/functions/v5.objectToFlatArray.html index 95f919ca6d..16962da1b7 100644 --- a/functions/v5.objectToFlatArray.html +++ b/functions/v5.objectToFlatArray.html @@ -1 +1 @@ -objectToFlatArray | bullmq - v5.34.4

    Function objectToFlatArray

    • Parameters

      • obj: Record<string, any>

      Returns string[]

    Generated using TypeDoc

    \ No newline at end of file +objectToFlatArray | bullmq - v5.34.4

    Function objectToFlatArray

    • Parameters

      • obj: Record<string, any>

      Returns string[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.parseObjectValues.html b/functions/v5.parseObjectValues.html index 8eb7f109d2..ef05a9117f 100644 --- a/functions/v5.parseObjectValues.html +++ b/functions/v5.parseObjectValues.html @@ -1 +1 @@ -parseObjectValues | bullmq - v5.34.4

    Function parseObjectValues

    • Parameters

      • obj: {
            [key: string]: string;
        }
        • [key: string]: string

      Returns Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file +parseObjectValues | bullmq - v5.34.4

    Function parseObjectValues

    • Parameters

      • obj: {
            [key: string]: string;
        }
        • [key: string]: string

      Returns Record<string, any>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.raw2NextJobData.html b/functions/v5.raw2NextJobData.html index 13c909d3fd..82cba3d2c2 100644 --- a/functions/v5.raw2NextJobData.html +++ b/functions/v5.raw2NextJobData.html @@ -1 +1 @@ -raw2NextJobData | bullmq - v5.34.4

    Function raw2NextJobData

    Generated using TypeDoc

    \ No newline at end of file +raw2NextJobData | bullmq - v5.34.4

    Function raw2NextJobData

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.removeAllQueueData.html b/functions/v5.removeAllQueueData.html index 82e533dde1..c5f5febe39 100644 --- a/functions/v5.removeAllQueueData.html +++ b/functions/v5.removeAllQueueData.html @@ -1 +1 @@ -removeAllQueueData | bullmq - v5.34.4

    Function removeAllQueueData

    • Parameters

      • client: RedisClient
      • queueName: string
      • prefix: string = ...

      Returns Promise<void | boolean>

    Generated using TypeDoc

    \ No newline at end of file +removeAllQueueData | bullmq - v5.34.4

    Function removeAllQueueData

    • Parameters

      • client: RedisClient
      • queueName: string
      • prefix: string = ...

      Returns Promise<void | boolean>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.removeUndefinedFields.html b/functions/v5.removeUndefinedFields.html index eae0a012e9..7081d7332f 100644 --- a/functions/v5.removeUndefinedFields.html +++ b/functions/v5.removeUndefinedFields.html @@ -1 +1 @@ -removeUndefinedFields | bullmq - v5.34.4

    Function removeUndefinedFields

    • Type Parameters

      • T extends Record<string, any>

      Parameters

      • obj: Record<string, any>

      Returns T

    Generated using TypeDoc

    \ No newline at end of file +removeUndefinedFields | bullmq - v5.34.4

    Function removeUndefinedFields

    • Type Parameters

      • T extends Record<string, any>

      Parameters

      • obj: Record<string, any>

      Returns T

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.toString.html b/functions/v5.toString.html index d9f496067e..e323804cf1 100644 --- a/functions/v5.toString.html +++ b/functions/v5.toString.html @@ -1 +1 @@ -toString | bullmq - v5.34.4

    Function toString

    • Parameters

      • value: any

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +toString | bullmq - v5.34.4

    Function toString

    • Parameters

      • value: any

      Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.trace.html b/functions/v5.trace.html index 90d23e4419..0d82c3733d 100644 --- a/functions/v5.trace.html +++ b/functions/v5.trace.html @@ -5,4 +5,4 @@
  • operation: string

    operation name (such as add, process, etc)

  • destination: string

    destination name (normally the queue name)

  • callback: ((span?, dstPropagationMetadata?) => T | Promise<T>)

    code to wrap with telemetry

    -
  • Optional srcPropagationMetadata: string
  • Returns Promise<T>

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional srcPropagationMetadata: string
  • Returns Promise<T>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/v5.tryCatch.html b/functions/v5.tryCatch.html index b14a6e9c79..321b8d9065 100644 --- a/functions/v5.tryCatch.html +++ b/functions/v5.tryCatch.html @@ -1 +1 @@ -tryCatch | bullmq - v5.34.4

    Function tryCatch

    • Parameters

      • fn: ((...args) => any)
          • (...args): any
          • Parameters

            • Rest ...args: any

            Returns any

      • ctx: any
      • args: any[]

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +tryCatch | bullmq - v5.34.4

    Function tryCatch

    • Parameters

      • fn: ((...args) => any)
          • (...args): any
          • Parameters

            • Rest ...args: any

            Returns any

      • ctx: any
      • args: any[]

      Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.AddChildrenOpts.html b/interfaces/v5.AddChildrenOpts.html index 80d892dce2..0a6363366d 100644 --- a/interfaces/v5.AddChildrenOpts.html +++ b/interfaces/v5.AddChildrenOpts.html @@ -1,5 +1,5 @@ -AddChildrenOpts | bullmq - v5.34.4

    Interface AddChildrenOpts

    interface AddChildrenOpts {
        multi: ChainableCommander;
        nodes: FlowJob[];
        parent: {
            parentDependenciesKey: string;
            parentOpts: {
                id: string;
                queue: string;
            };
        };
        queuesOpts?: FlowQueuesOpts;
    }

    Properties

    multi +AddChildrenOpts | bullmq - v5.34.4

    Interface AddChildrenOpts

    interface AddChildrenOpts {
        multi: ChainableCommander;
        nodes: FlowJob[];
        parent: {
            parentDependenciesKey: string;
            parentOpts: {
                id: string;
                queue: string;
            };
        };
        queuesOpts?: FlowQueuesOpts;
    }

    Properties

    multi: ChainableCommander
    nodes: FlowJob[]
    parent: {
        parentDependenciesKey: string;
        parentOpts: {
            id: string;
            queue: string;
        };
    }

    Type declaration

    • parentDependenciesKey: string
    • parentOpts: {
          id: string;
          queue: string;
      }
      • id: string
      • queue: string
    queuesOpts?: FlowQueuesOpts

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    multi: ChainableCommander
    nodes: FlowJob[]
    parent: {
        parentDependenciesKey: string;
        parentOpts: {
            id: string;
            queue: string;
        };
    }

    Type declaration

    • parentDependenciesKey: string
    • parentOpts: {
          id: string;
          queue: string;
      }
      • id: string
      • queue: string
    queuesOpts?: FlowQueuesOpts

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.AddNodeOpts.html b/interfaces/v5.AddNodeOpts.html index 14aa46de05..c1948526db 100644 --- a/interfaces/v5.AddNodeOpts.html +++ b/interfaces/v5.AddNodeOpts.html @@ -1,6 +1,6 @@ -AddNodeOpts | bullmq - v5.34.4

    Interface AddNodeOpts

    interface AddNodeOpts {
        multi: ChainableCommander;
        node: FlowJob;
        parent?: {
            parentDependenciesKey: string;
            parentOpts: {
                id: string;
                queue: string;
            };
        };
        queuesOpts?: FlowQueuesOpts;
    }

    Properties

    multi +AddNodeOpts | bullmq - v5.34.4

    Interface AddNodeOpts

    interface AddNodeOpts {
        multi: ChainableCommander;
        node: FlowJob;
        parent?: {
            parentDependenciesKey: string;
            parentOpts: {
                id: string;
                queue: string;
            };
        };
        queuesOpts?: FlowQueuesOpts;
    }

    Properties

    multi: ChainableCommander
    node: FlowJob
    parent?: {
        parentDependenciesKey: string;
        parentOpts: {
            id: string;
            queue: string;
        };
    }

    Type declaration

    • parentDependenciesKey: string
    • parentOpts: {
          id: string;
          queue: string;
      }
      • id: string
      • queue: string
    queuesOpts?: FlowQueuesOpts

    Queues options that will be applied in each node depending on queue name presence.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    multi: ChainableCommander
    node: FlowJob
    parent?: {
        parentDependenciesKey: string;
        parentOpts: {
            id: string;
            queue: string;
        };
    }

    Type declaration

    • parentDependenciesKey: string
    • parentOpts: {
          id: string;
          queue: string;
      }
      • id: string
      • queue: string
    queuesOpts?: FlowQueuesOpts

    Queues options that will be applied in each node depending on queue name presence.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.AdvancedOptions.html b/interfaces/v5.AdvancedOptions.html index ca401f600a..dd6b5ae933 100644 --- a/interfaces/v5.AdvancedOptions.html +++ b/interfaces/v5.AdvancedOptions.html @@ -1,8 +1,8 @@ -AdvancedOptions | bullmq - v5.34.4

    Interface AdvancedOptions

    interface AdvancedOptions {
        backoffStrategy?: BackoffStrategy;
        repeatKeyHashAlgorithm?: string;
        repeatStrategy?: RepeatStrategy;
    }

    Hierarchy (view full)

    Properties

    backoffStrategy? +AdvancedOptions | bullmq - v5.34.4

    Interface AdvancedOptions

    interface AdvancedOptions {
        backoffStrategy?: BackoffStrategy;
        repeatKeyHashAlgorithm?: string;
        repeatStrategy?: RepeatStrategy;
    }

    Hierarchy (view full)

    Properties

    backoffStrategy?: BackoffStrategy

    A custom backoff strategy.

    -
    repeatKeyHashAlgorithm?: string

    A hash algorithm to be used when trying to create the job redis key. +

    repeatKeyHashAlgorithm?: string

    A hash algorithm to be used when trying to create the job redis key. Default - md5

    -
    repeatStrategy?: RepeatStrategy

    A custom cron strategy.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    repeatStrategy?: RepeatStrategy

    A custom cron strategy.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.AdvancedRepeatOptions.html b/interfaces/v5.AdvancedRepeatOptions.html index c901e35302..f9eab727b8 100644 --- a/interfaces/v5.AdvancedRepeatOptions.html +++ b/interfaces/v5.AdvancedRepeatOptions.html @@ -1,6 +1,6 @@ -AdvancedRepeatOptions | bullmq - v5.34.4

    Interface AdvancedRepeatOptions

    interface AdvancedRepeatOptions {
        repeatKeyHashAlgorithm?: string;
        repeatStrategy?: RepeatStrategy;
    }

    Hierarchy (view full)

    Properties

    repeatKeyHashAlgorithm? +AdvancedRepeatOptions | bullmq - v5.34.4

    Interface AdvancedRepeatOptions

    interface AdvancedRepeatOptions {
        repeatKeyHashAlgorithm?: string;
        repeatStrategy?: RepeatStrategy;
    }

    Hierarchy (view full)

    Properties

    repeatKeyHashAlgorithm?: string

    A hash algorithm to be used when trying to create the job redis key. Default - md5

    -
    repeatStrategy?: RepeatStrategy

    A custom cron strategy.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    repeatStrategy?: RepeatStrategy

    A custom cron strategy.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Attributes.html b/interfaces/v5.Attributes.html index 3cfffa6250..9c7c7534cd 100644 --- a/interfaces/v5.Attributes.html +++ b/interfaces/v5.Attributes.html @@ -1 +1 @@ -Attributes | bullmq - v5.34.4

    Interface Attributes

    interface Attributes {
        [attribute: string]: AttributeValue | undefined;
    }

    Indexable

    [attribute: string]: AttributeValue | undefined

    Generated using TypeDoc

    \ No newline at end of file +Attributes | bullmq - v5.34.4

    Interface Attributes

    interface Attributes {
        [attribute: string]: AttributeValue | undefined;
    }

    Indexable

    [attribute: string]: AttributeValue | undefined

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.BackoffOptions.html b/interfaces/v5.BackoffOptions.html index c090fa8fa1..4b7ea65519 100644 --- a/interfaces/v5.BackoffOptions.html +++ b/interfaces/v5.BackoffOptions.html @@ -1,7 +1,7 @@ BackoffOptions | bullmq - v5.34.4

    Interface BackoffOptions

    Settings for backing off failed jobs.

    interface BackoffOptions {
        delay?: number;
        type: "fixed" | "exponential" | string & {};
    }

    Properties

    interface BackoffOptions {
        delay?: number;
        type: "fixed" | "exponential" | string & {};
    }

    Properties

    Properties

    delay?: number

    Delay in milliseconds.

    -
    type: "fixed" | "exponential" | string & {}

    Name of the backoff strategy.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    type: "fixed" | "exponential" | string & {}

    Name of the backoff strategy.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.BaseJobOptions.html b/interfaces/v5.BaseJobOptions.html index 25ec3e6746..638fcca685 100644 --- a/interfaces/v5.BaseJobOptions.html +++ b/interfaces/v5.BaseJobOptions.html @@ -1,4 +1,4 @@ -BaseJobOptions | bullmq - v5.34.4

    Interface BaseJobOptions

    interface BaseJobOptions {
        attempts?: number;
        backoff?: number | BackoffOptions;
        delay?: number;
        jobId?: string;
        keepLogs?: number;
        lifo?: boolean;
        parent?: {
            id: string;
            queue: string;
        };
        prevMillis?: number;
        priority?: number;
        removeOnComplete?: number | boolean | KeepJobs;
        removeOnFail?: number | boolean | KeepJobs;
        repeat?: RepeatOptions;
        repeatJobKey?: string;
        sizeLimit?: number;
        stackTraceLimit?: number;
        timestamp?: number;
    }

    Hierarchy (view full)

    Properties

    attempts? +BaseJobOptions | bullmq - v5.34.4

    Interface BaseJobOptions

    interface BaseJobOptions {
        attempts?: number;
        backoff?: number | BackoffOptions;
        delay?: number;
        jobId?: string;
        keepLogs?: number;
        lifo?: boolean;
        parent?: {
            id: string;
            queue: string;
        };
        prevMillis?: number;
        priority?: number;
        removeOnComplete?: number | boolean | KeepJobs;
        removeOnFail?: number | boolean | KeepJobs;
        repeat?: RepeatOptions;
        repeatJobKey?: string;
        sizeLimit?: number;
        stackTraceLimit?: number;
        timestamp?: number;
    }

    Hierarchy (view full)

    Properties

    attempts? backoff? delay? jobId? @@ -17,43 +17,43 @@

    Properties

    attempts?: number

    The total number of attempts to try the job until it completes.

    Default Value

    0
     
    -
    backoff?: number | BackoffOptions

    Backoff setting for automatic retries if the job fails

    -
    delay?: number

    An amount of milliseconds to wait until this job can be processed. +

    backoff?: number | BackoffOptions

    Backoff setting for automatic retries if the job fails

    +
    delay?: number

    An amount of milliseconds to wait until this job can be processed. Note that for accurate delays, worker and producers should have their clocks synchronized.

    Default Value

    0
     
    -
    jobId?: string

    Override the job ID - by default, the job ID is a unique +

    jobId?: string

    Override the job ID - by default, the job ID is a unique integer, but you can use this setting to override it. If you use this option, it is up to you to ensure the jobId is unique. If you attempt to add a job with an id that already exists, it will not be added.

    -
    keepLogs?: number

    Maximum amount of log entries that will be preserved

    -
    lifo?: boolean

    If true, adds the job to the right of the queue instead of the left (default false)

    +
    keepLogs?: number

    Maximum amount of log entries that will be preserved

    +
    lifo?: boolean

    If true, adds the job to the right of the queue instead of the left (default false)

    parent?: {
        id: string;
        queue: string;
    }

    Type declaration

    parent?: {
        id: string;
        queue: string;
    }

    Type declaration

    prevMillis?: number

    Internal property used by repeatable jobs.

    -
    priority?: number

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that +

    prevMillis?: number

    Internal property used by repeatable jobs.

    +
    priority?: number

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that using priorities has a slight impact on performance, so do not use it if not required.

    Default Value

    0
     
    -
    removeOnComplete?: number | boolean | KeepJobs

    If true, removes the job when it successfully completes +

    removeOnComplete?: number | boolean | KeepJobs

    If true, removes the job when it successfully completes When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the completed set.

    -
    removeOnFail?: number | boolean | KeepJobs

    If true, removes the job when it fails after all attempts. +

    removeOnFail?: number | boolean | KeepJobs

    If true, removes the job when it fails after all attempts. When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the failed set.

    -
    repeat?: RepeatOptions

    Repeat this job, for example based on a cron schedule.

    -
    repeatJobKey?: string

    Internal property used by repeatable jobs to save base repeat job key.

    -
    sizeLimit?: number

    Limits the size in bytes of the job's data payload (as a JSON serialized string).

    -
    stackTraceLimit?: number

    Limits the amount of stack trace lines that will be recorded in the stacktrace.

    -
    timestamp?: number

    Timestamp when the job was created.

    +
    repeat?: RepeatOptions

    Repeat this job, for example based on a cron schedule.

    +
    repeatJobKey?: string

    Internal property used by repeatable jobs to save base repeat job key.

    +
    sizeLimit?: number

    Limits the size in bytes of the job's data payload (as a JSON serialized string).

    +
    stackTraceLimit?: number

    Limits the amount of stack trace lines that will be recorded in the stacktrace.

    +
    timestamp?: number

    Timestamp when the job was created.

    Default Value

    Date.now()
     
    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.BaseOptions.html b/interfaces/v5.BaseOptions.html index 0338be34e2..c52d8312b4 100644 --- a/interfaces/v5.BaseOptions.html +++ b/interfaces/v5.BaseOptions.html @@ -1,3 +1,3 @@ -BaseOptions | bullmq - v5.34.4

    Interface BaseOptions

    interface BaseOptions {
        skipVersionCheck?: boolean;
        url?: string;
    }

    Properties

    skipVersionCheck? +BaseOptions | bullmq - v5.34.4

    Interface BaseOptions

    interface BaseOptions {
        skipVersionCheck?: boolean;
        url?: string;
    }

    Properties

    skipVersionCheck?: boolean
    url?: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    skipVersionCheck?: boolean
    url?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.BuiltInStrategies.html b/interfaces/v5.BuiltInStrategies.html index 040bf9c41d..fecbe6f92b 100644 --- a/interfaces/v5.BuiltInStrategies.html +++ b/interfaces/v5.BuiltInStrategies.html @@ -1 +1 @@ -BuiltInStrategies | bullmq - v5.34.4

    Interface BuiltInStrategies

    interface BuiltInStrategies {
        [index: string]: ((delay) => BackoffStrategy);
    }

    Indexable

    [index: string]: ((delay) => BackoffStrategy)

    Generated using TypeDoc

    \ No newline at end of file +BuiltInStrategies | bullmq - v5.34.4

    Interface BuiltInStrategies

    interface BuiltInStrategies {
        [index: string]: ((delay) => BackoffStrategy);
    }

    Indexable

    [index: string]: ((delay) => BackoffStrategy)

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.ChildMessage.html b/interfaces/v5.ChildMessage.html index d60a6d6a52..aa42d07bab 100644 --- a/interfaces/v5.ChildMessage.html +++ b/interfaces/v5.ChildMessage.html @@ -1,4 +1,4 @@ -ChildMessage | bullmq - v5.34.4

    Interface ChildMessage

    interface ChildMessage {
        cmd: ParentCommand;
        err?: Record<string, any>;
        value?: any;
    }

    Properties

    cmd +ChildMessage | bullmq - v5.34.4

    Interface ChildMessage

    interface ChildMessage {
        cmd: ParentCommand;
        err?: Record<string, any>;
        value?: any;
    }

    Properties

    Properties

    err?: Record<string, any>
    value?: any

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    err?: Record<string, any>
    value?: any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.ContextManager.html b/interfaces/v5.ContextManager.html index cd2db1dd75..bb3b888047 100644 --- a/interfaces/v5.ContextManager.html +++ b/interfaces/v5.ContextManager.html @@ -1,15 +1,15 @@ ContextManager | bullmq - v5.34.4

    Interface ContextManager<Context>

    Context manager interface

    The context manager is responsible for managing the context and propagating it across the application.

    -
    interface ContextManager<Context> {
        active(): Context;
        fromMetadata(activeContext, metadata): Context;
        getMetadata(context): string;
        with<A>(context, fn): ReturnType<A>;
    }

    Type Parameters

    • Context = any

    Methods

    interface ContextManager<Context> {
        active(): Context;
        fromMetadata(activeContext, metadata): Context;
        getMetadata(context): string;
        with<A>(context, fn): ReturnType<A>;
    }

    Type Parameters

    • Context = any

    Methods

    • Creates a new context from a serialized version effectively linking the new context to the parent context.

      -

      Parameters

      • activeContext: Context
      • metadata: string

      Returns Context

    • Returns a serialized version of the current context. The metadata is the mechanism used to propagate the context across a distributed application.

      -

      Parameters

      Returns string

    • Creates a new context and sets it as active for the fn passed as last argument

      -

      Type Parameters

      • A extends ((...args) => any)

      Parameters

      Returns ReturnType<A>

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.DebounceOptions.html b/interfaces/v5.DebounceOptions.html index 785eceeadf..aa3ed8be51 100644 --- a/interfaces/v5.DebounceOptions.html +++ b/interfaces/v5.DebounceOptions.html @@ -1,6 +1,6 @@ DebounceOptions | bullmq - v5.34.4

    Interface DebounceOptions

    Debounce options

    -
    interface DebounceOptions {
        id: string;
        ttl?: number;
    }

    Properties

    id +
    interface DebounceOptions {
        id: string;
        ttl?: number;
    }

    Properties

    Properties

    id: string

    Identifier

    -
    ttl?: number

    ttl in milliseconds

    -

    Generated using TypeDoc

    \ No newline at end of file +
    ttl?: number

    ttl in milliseconds

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.DefaultJobOptions.html b/interfaces/v5.DefaultJobOptions.html index 5dbf7f23b6..8fc25ce229 100644 --- a/interfaces/v5.DefaultJobOptions.html +++ b/interfaces/v5.DefaultJobOptions.html @@ -1,4 +1,4 @@ -DefaultJobOptions | bullmq - v5.34.4

    Interface DefaultJobOptions

    interface DefaultJobOptions {
        attempts?: number;
        backoff?: number | BackoffOptions;
        delay?: number;
        keepLogs?: number;
        lifo?: boolean;
        priority?: number;
        removeOnComplete?: number | boolean | KeepJobs;
        removeOnFail?: number | boolean | KeepJobs;
        sizeLimit?: number;
        stackTraceLimit?: number;
        timestamp?: number;
    }

    Hierarchy (view full)

    Properties

    attempts? +DefaultJobOptions | bullmq - v5.34.4

    Interface DefaultJobOptions

    interface DefaultJobOptions {
        attempts?: number;
        backoff?: number | BackoffOptions;
        delay?: number;
        keepLogs?: number;
        lifo?: boolean;
        priority?: number;
        removeOnComplete?: number | boolean | KeepJobs;
        removeOnFail?: number | boolean | KeepJobs;
        sizeLimit?: number;
        stackTraceLimit?: number;
        timestamp?: number;
    }

    Hierarchy (view full)

    Properties

    attempts? backoff? delay? keepLogs? @@ -12,33 +12,33 @@

    Properties

    attempts?: number

    The total number of attempts to try the job until it completes.

    Default Value

    0
     
    -
    backoff?: number | BackoffOptions

    Backoff setting for automatic retries if the job fails

    -
    delay?: number

    An amount of milliseconds to wait until this job can be processed. +

    backoff?: number | BackoffOptions

    Backoff setting for automatic retries if the job fails

    +
    delay?: number

    An amount of milliseconds to wait until this job can be processed. Note that for accurate delays, worker and producers should have their clocks synchronized.

    Default Value

    0
     
    -
    keepLogs?: number

    Maximum amount of log entries that will be preserved

    -
    lifo?: boolean

    If true, adds the job to the right of the queue instead of the left (default false)

    +
    keepLogs?: number

    Maximum amount of log entries that will be preserved

    +
    lifo?: boolean

    If true, adds the job to the right of the queue instead of the left (default false)

    priority?: number

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that +

    priority?: number

    Ranges from 0 (highest priority) to 2 097 152 (lowest priority). Note that using priorities has a slight impact on performance, so do not use it if not required.

    Default Value

    0
     
    -
    removeOnComplete?: number | boolean | KeepJobs

    If true, removes the job when it successfully completes +

    removeOnComplete?: number | boolean | KeepJobs

    If true, removes the job when it successfully completes When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the completed set.

    -
    removeOnFail?: number | boolean | KeepJobs

    If true, removes the job when it fails after all attempts. +

    removeOnFail?: number | boolean | KeepJobs

    If true, removes the job when it fails after all attempts. When given a number, it specifies the maximum amount of jobs to keep, or you can provide an object specifying max age and/or count to keep. It overrides whatever setting is used in the worker. Default behavior is to keep the job in the failed set.

    -
    sizeLimit?: number

    Limits the size in bytes of the job's data payload (as a JSON serialized string).

    -
    stackTraceLimit?: number

    Limits the amount of stack trace lines that will be recorded in the stacktrace.

    -
    timestamp?: number

    Timestamp when the job was created.

    +
    sizeLimit?: number

    Limits the size in bytes of the job's data payload (as a JSON serialized string).

    +
    stackTraceLimit?: number

    Limits the amount of stack trace lines that will be recorded in the stacktrace.

    +
    timestamp?: number

    Timestamp when the job was created.

    Default Value

    Date.now()
     
    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.DependenciesOpts.html b/interfaces/v5.DependenciesOpts.html index 0bb9573927..bcd3c32e96 100644 --- a/interfaces/v5.DependenciesOpts.html +++ b/interfaces/v5.DependenciesOpts.html @@ -1,3 +1,3 @@ -DependenciesOpts | bullmq - v5.34.4

    Interface DependenciesOpts

    interface DependenciesOpts {
        processed?: {
            count?: number;
            cursor?: number;
        };
        unprocessed?: {
            count?: number;
            cursor?: number;
        };
    }

    Properties

    processed? +DependenciesOpts | bullmq - v5.34.4

    Interface DependenciesOpts

    interface DependenciesOpts {
        processed?: {
            count?: number;
            cursor?: number;
        };
        unprocessed?: {
            count?: number;
            cursor?: number;
        };
    }

    Properties

    processed?: {
        count?: number;
        cursor?: number;
    }

    Type declaration

    • Optional count?: number
    • Optional cursor?: number
    unprocessed?: {
        count?: number;
        cursor?: number;
    }

    Type declaration

    • Optional count?: number
    • Optional cursor?: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    processed?: {
        count?: number;
        cursor?: number;
    }

    Type declaration

    • Optional count?: number
    • Optional cursor?: number
    unprocessed?: {
        count?: number;
        cursor?: number;
    }

    Type declaration

    • Optional count?: number
    • Optional cursor?: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.FlowJobBase.html b/interfaces/v5.FlowJobBase.html index ee54794966..26f69b226c 100644 --- a/interfaces/v5.FlowJobBase.html +++ b/interfaces/v5.FlowJobBase.html @@ -1,7 +1,7 @@ -FlowJobBase | bullmq - v5.34.4

    Interface FlowJobBase<T>

    interface FlowJobBase<T> {
        children?: FlowChildJob[];
        data?: any;
        name: string;
        opts?: Omit<T, "repeat">;
        prefix?: string;
        queueName: string;
    }

    Type Parameters

    • T

    Properties

    children? +FlowJobBase | bullmq - v5.34.4

    Interface FlowJobBase<T>

    interface FlowJobBase<T> {
        children?: FlowChildJob[];
        data?: any;
        name: string;
        opts?: Omit<T, "repeat">;
        prefix?: string;
        queueName: string;
    }

    Type Parameters

    • T

    Properties

    children?: FlowChildJob[]
    data?: any
    name: string
    opts?: Omit<T, "repeat">
    prefix?: string
    queueName: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    children?: FlowChildJob[]
    data?: any
    name: string
    opts?: Omit<T, "repeat">
    prefix?: string
    queueName: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.FlowOpts.html b/interfaces/v5.FlowOpts.html index 35c3a805ef..3f7ba2fff8 100644 --- a/interfaces/v5.FlowOpts.html +++ b/interfaces/v5.FlowOpts.html @@ -1,3 +1,3 @@ -FlowOpts | bullmq - v5.34.4

    Interface FlowOpts

    interface FlowOpts {
        queuesOptions: FlowQueuesOpts;
    }

    Properties

    queuesOptions +FlowOpts | bullmq - v5.34.4

    Interface FlowOpts

    interface FlowOpts {
        queuesOptions: FlowQueuesOpts;
    }

    Properties

    Properties

    queuesOptions: FlowQueuesOpts

    Map of options for Queue classes.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.FlowProducerListener.html b/interfaces/v5.FlowProducerListener.html index 2df2753fae..bcb82e54d3 100644 --- a/interfaces/v5.FlowProducerListener.html +++ b/interfaces/v5.FlowProducerListener.html @@ -1,11 +1,11 @@ -FlowProducerListener | bullmq - v5.34.4

    Interface FlowProducerListener

    interface FlowProducerListener {
        error: ((failedReason) => void);
        ioredis:close: (() => void);
    }

    Hierarchy (view full)

    Properties

    error +FlowProducerListener | bullmq - v5.34.4

    Interface FlowProducerListener

    interface FlowProducerListener {
        error: ((failedReason) => void);
        ioredis:close: (() => void);
    }

    Hierarchy (view full)

    Properties

    Properties

    error: ((failedReason) => void)

    Listen to 'error' event.

    This event is triggered when an error is throw.

    Type declaration

      • (failedReason): void
      • Listen to 'error' event.

        This event is triggered when an error is throw.

        -

        Parameters

        • failedReason: Error

        Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    +

    Parameters

    • failedReason: Error

    Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    This event is triggered when ioredis is closed.

    Type declaration

      • (): void
      • Listen to 'ioredis:close' event.

        This event is triggered when ioredis is closed.

        -

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.GetNextJobOptions.html b/interfaces/v5.GetNextJobOptions.html index 9db9b325f9..5530475caa 100644 --- a/interfaces/v5.GetNextJobOptions.html +++ b/interfaces/v5.GetNextJobOptions.html @@ -1,2 +1,2 @@ -GetNextJobOptions | bullmq - v5.34.4

    Interface GetNextJobOptions

    interface GetNextJobOptions {
        block?: boolean;
    }

    Properties

    Properties

    block?: boolean

    Generated using TypeDoc

    \ No newline at end of file +GetNextJobOptions | bullmq - v5.34.4

    Interface GetNextJobOptions

    interface GetNextJobOptions {
        block?: boolean;
    }

    Properties

    Properties

    block?: boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.IConnection.html b/interfaces/v5.IConnection.html index 1fc231b8fd..3b56bf2ae0 100644 --- a/interfaces/v5.IConnection.html +++ b/interfaces/v5.IConnection.html @@ -1,3 +1,3 @@ -IConnection | bullmq - v5.34.4

    Interface IConnection

    interface IConnection {
        client: Promise<RedisClient>;
        waitUntilReady(): Promise<boolean>;
    }

    Hierarchy

    • EventEmitter
      • IConnection

    Properties

    client +IConnection | bullmq - v5.34.4

    Interface IConnection

    interface IConnection {
        client: Promise<RedisClient>;
        waitUntilReady(): Promise<boolean>;
    }

    Hierarchy

    • EventEmitter
      • IConnection

    Properties

    Methods

    Properties

    client: Promise<RedisClient>

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    client: Promise<RedisClient>

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.IoredisListener.html b/interfaces/v5.IoredisListener.html index 0ac9ab9a30..f4c19a61ef 100644 --- a/interfaces/v5.IoredisListener.html +++ b/interfaces/v5.IoredisListener.html @@ -1,6 +1,6 @@ -IoredisListener | bullmq - v5.34.4

    Interface IoredisListener

    interface IoredisListener {
        ioredis:close: (() => void);
    }

    Hierarchy (view full)

    Properties

    ioredis:close +IoredisListener | bullmq - v5.34.4

    Interface IoredisListener

    interface IoredisListener {
        ioredis:close: (() => void);
    }

    Hierarchy (view full)

    Properties

    Properties

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    This event is triggered when ioredis is closed.

    Type declaration

      • (): void
      • Listen to 'ioredis:close' event.

        This event is triggered when ioredis is closed.

        -

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.JobJson.html b/interfaces/v5.JobJson.html index 1c5a6160e6..1234df2cf3 100644 --- a/interfaces/v5.JobJson.html +++ b/interfaces/v5.JobJson.html @@ -1,4 +1,4 @@ -JobJson | bullmq - v5.34.4

    Interface JobJson

    interface JobJson {
        attemptsMade: number;
        attemptsStarted: number;
        data: string;
        debounceId?: string;
        deduplicationId?: string;
        failedReason: string;
        finishedOn?: number;
        id: string;
        name: string;
        nextRepeatableJobKey?: string;
        opts: RedisJobOptions;
        parent?: ParentKeys;
        parentKey?: string;
        processedBy?: string;
        processedOn?: number;
        progress: number | object;
        repeatJobKey?: string;
        returnvalue: string;
        stacktrace: string;
        timestamp: number;
    }

    Properties

    attemptsMade +JobJson | bullmq - v5.34.4

    Interface JobJson

    interface JobJson {
        attemptsMade: number;
        attemptsStarted: number;
        data: string;
        debounceId?: string;
        deduplicationId?: string;
        failedReason: string;
        finishedOn?: number;
        id: string;
        name: string;
        nextRepeatableJobKey?: string;
        opts: RedisJobOptions;
        parent?: ParentKeys;
        parentKey?: string;
        processedBy?: string;
        processedOn?: number;
        progress: number | object;
        repeatJobKey?: string;
        returnvalue: string;
        stacktrace: string;
        timestamp: number;
    }

    Properties

    attemptsMade: number
    attemptsStarted: number
    data: string
    debounceId?: string
    deduplicationId?: string
    failedReason: string
    finishedOn?: number
    id: string
    name: string
    nextRepeatableJobKey?: string
    parent?: ParentKeys
    parentKey?: string
    processedBy?: string
    processedOn?: number
    progress: number | object
    repeatJobKey?: string
    returnvalue: string
    stacktrace: string
    timestamp: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    attemptsMade: number
    attemptsStarted: number
    data: string
    debounceId?: string
    deduplicationId?: string
    failedReason: string
    finishedOn?: number
    id: string
    name: string
    nextRepeatableJobKey?: string
    parent?: ParentKeys
    parentKey?: string
    processedBy?: string
    processedOn?: number
    progress: number | object
    repeatJobKey?: string
    returnvalue: string
    stacktrace: string
    timestamp: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.JobJsonRaw.html b/interfaces/v5.JobJsonRaw.html index 9e0364e781..2754743ce9 100644 --- a/interfaces/v5.JobJsonRaw.html +++ b/interfaces/v5.JobJsonRaw.html @@ -1,4 +1,4 @@ -JobJsonRaw | bullmq - v5.34.4

    Interface JobJsonRaw

    interface JobJsonRaw {
        atm?: string;
        ats?: string;
        attemptsMade?: string;
        data: string;
        deid?: string;
        delay: string;
        failedReason: string;
        finishedOn?: string;
        id: string;
        name: string;
        nrjid?: string;
        opts: string;
        parent?: string;
        parentKey?: string;
        pb?: string;
        processedOn?: string;
        progress: string;
        returnvalue: string;
        rjk?: string;
        stacktrace: string[];
        timestamp: string;
    }

    Properties

    atm? +JobJsonRaw | bullmq - v5.34.4

    Interface JobJsonRaw

    interface JobJsonRaw {
        atm?: string;
        ats?: string;
        attemptsMade?: string;
        data: string;
        deid?: string;
        delay: string;
        failedReason: string;
        finishedOn?: string;
        id: string;
        name: string;
        nrjid?: string;
        opts: string;
        parent?: string;
        parentKey?: string;
        pb?: string;
        processedOn?: string;
        progress: string;
        returnvalue: string;
        rjk?: string;
        stacktrace: string[];
        timestamp: string;
    }

    Properties

    Properties

    atm?: string
    ats?: string
    attemptsMade?: string
    data: string
    deid?: string
    delay: string
    failedReason: string
    finishedOn?: string
    id: string
    name: string
    nrjid?: string
    opts: string
    parent?: string
    parentKey?: string
    pb?: string
    processedOn?: string
    progress: string
    returnvalue: string
    rjk?: string
    stacktrace: string[]
    timestamp: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    atm?: string
    ats?: string
    attemptsMade?: string
    data: string
    deid?: string
    delay: string
    failedReason: string
    finishedOn?: string
    id: string
    name: string
    nrjid?: string
    opts: string
    parent?: string
    parentKey?: string
    pb?: string
    processedOn?: string
    progress: string
    returnvalue: string
    rjk?: string
    stacktrace: string[]
    timestamp: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.JobNode.html b/interfaces/v5.JobNode.html index 6ad76e4277..1dcea52db4 100644 --- a/interfaces/v5.JobNode.html +++ b/interfaces/v5.JobNode.html @@ -1,3 +1,3 @@ -JobNode | bullmq - v5.34.4

    Interface JobNode

    interface JobNode {
        children?: JobNode[];
        job: Job<any, any, string>;
    }

    Properties

    children? +JobNode | bullmq - v5.34.4

    Interface JobNode

    interface JobNode {
        children?: JobNode[];
        job: Job<any, any, string>;
    }

    Properties

    Properties

    children?: JobNode[]
    job: Job<any, any, string>

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    children?: JobNode[]
    job: Job<any, any, string>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.JobSchedulerJson.html b/interfaces/v5.JobSchedulerJson.html index c6f9476ee0..63da8d7e69 100644 --- a/interfaces/v5.JobSchedulerJson.html +++ b/interfaces/v5.JobSchedulerJson.html @@ -1,4 +1,4 @@ -JobSchedulerJson | bullmq - v5.34.4

    Interface JobSchedulerJson<D>

    interface JobSchedulerJson<D> {
        endDate: number;
        every?: string;
        id?: string;
        key: string;
        name: string;
        next?: number;
        pattern: string;
        template?: JobSchedulerTemplateJson<D>;
        tz: string;
    }

    Type Parameters

    • D = any

    Properties

    endDate +JobSchedulerJson | bullmq - v5.34.4

    Interface JobSchedulerJson<D>

    interface JobSchedulerJson<D> {
        endDate: number;
        every?: string;
        id?: string;
        key: string;
        name: string;
        next?: number;
        pattern: string;
        template?: JobSchedulerTemplateJson<D>;
        tz: string;
    }

    Type Parameters

    • D = any

    Properties

    Properties

    endDate: number
    every?: string
    id?: string
    key: string
    name: string
    next?: number
    pattern: string
    tz: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    endDate: number
    every?: string
    id?: string
    key: string
    name: string
    next?: number
    pattern: string
    tz: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.JobSchedulerTemplateJson.html b/interfaces/v5.JobSchedulerTemplateJson.html index ad865da403..ff65e86e16 100644 --- a/interfaces/v5.JobSchedulerTemplateJson.html +++ b/interfaces/v5.JobSchedulerTemplateJson.html @@ -1,3 +1,3 @@ -JobSchedulerTemplateJson | bullmq - v5.34.4

    Interface JobSchedulerTemplateJson<D>

    interface JobSchedulerTemplateJson<D> {
        data?: D;
        opts?: JobSchedulerTemplateOptions;
    }

    Type Parameters

    • D = any

    Properties

    data? +JobSchedulerTemplateJson | bullmq - v5.34.4

    Interface JobSchedulerTemplateJson<D>

    interface JobSchedulerTemplateJson<D> {
        data?: D;
        opts?: JobSchedulerTemplateOptions;
    }

    Type Parameters

    • D = any

    Properties

    Properties

    data?: D

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    data?: D

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.KeepJobs.html b/interfaces/v5.KeepJobs.html index bb42155b8b..990c07ca3b 100644 --- a/interfaces/v5.KeepJobs.html +++ b/interfaces/v5.KeepJobs.html @@ -2,8 +2,8 @@

    Specify which jobs to keep after finishing. If both age and count are specified, then the jobs kept will be the ones that satisfies both properties.

    -
    interface KeepJobs {
        age?: number;
        count?: number;
    }

    Properties

    interface KeepJobs {
        age?: number;
        count?: number;
    }

    Properties

    Properties

    age?: number

    Maximum age in seconds for job to be kept.

    -
    count?: number

    Maximum count of jobs to be kept.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    count?: number

    Maximum count of jobs to be kept.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Metrics.html b/interfaces/v5.Metrics.html index 6131314832..d5f7e1079b 100644 --- a/interfaces/v5.Metrics.html +++ b/interfaces/v5.Metrics.html @@ -1,4 +1,4 @@ -Metrics | bullmq - v5.34.4

    Interface Metrics

    interface Metrics {
        count: number;
        data: number[];
        meta: {
            count: number;
            prevCount: number;
            prevTS: number;
        };
    }

    Properties

    count +Metrics | bullmq - v5.34.4

    Interface Metrics

    interface Metrics {
        count: number;
        data: number[];
        meta: {
            count: number;
            prevCount: number;
            prevTS: number;
        };
    }

    Properties

    Properties

    count: number
    data: number[]
    meta: {
        count: number;
        prevCount: number;
        prevTS: number;
    }

    Type declaration

    • count: number
    • prevCount: number
    • prevTS: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    count: number
    data: number[]
    meta: {
        count: number;
        prevCount: number;
        prevTS: number;
    }

    Type declaration

    • count: number
    • prevCount: number
    • prevTS: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.MetricsOptions.html b/interfaces/v5.MetricsOptions.html index b388380957..3b4b624857 100644 --- a/interfaces/v5.MetricsOptions.html +++ b/interfaces/v5.MetricsOptions.html @@ -1,5 +1,5 @@ -MetricsOptions | bullmq - v5.34.4

    Interface MetricsOptions

    interface MetricsOptions {
        maxDataPoints?: number;
    }

    Properties

    maxDataPoints? +MetricsOptions | bullmq - v5.34.4

    Interface MetricsOptions

    interface MetricsOptions {
        maxDataPoints?: number;
    }

    Properties

    Properties

    maxDataPoints?: number

    Enable gathering metrics for finished jobs. Output refers to all finished jobs, completed or failed.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.MinimalJob.html b/interfaces/v5.MinimalJob.html index bbb86caf37..7a43353c3d 100644 --- a/interfaces/v5.MinimalJob.html +++ b/interfaces/v5.MinimalJob.html @@ -1,5 +1,5 @@ MinimalJob | bullmq - v5.34.4

    Interface MinimalJob<DataType, ReturnType, NameType>

    MinimalJob

    -
    interface MinimalJob<DataType, ReturnType, NameType> {
        attemptsMade: number;
        data: DataType;
        delay: number;
        failedReason: string;
        finishedOn?: number;
        id?: string;
        name: NameType;
        opts: JobsOptions;
        parent?: ParentKeys;
        parentKey?: string;
        processedOn?: number;
        progress: number | object;
        repeatJobKey?: string;
        returnvalue: ReturnType;
        stacktrace: string[];
        timestamp: number;
        get prefix(): string;
        get queueName(): string;
        get queueQualifiedName(): string;
        asJSON(): JobJson;
        asJSONSandbox(): JobJsonSandbox;
        log(logRow): Promise<number>;
        updateData(data): Promise<void>;
        updateProgress(progress): Promise<void>;
    }

    Type Parameters

    • DataType = any
    • ReturnType = any
    • NameType extends string = string

    Implemented by

    Properties

    interface MinimalJob<DataType, ReturnType, NameType> {
        attemptsMade: number;
        data: DataType;
        delay: number;
        failedReason: string;
        finishedOn?: number;
        id?: string;
        name: NameType;
        opts: JobsOptions;
        parent?: ParentKeys;
        parentKey?: string;
        processedOn?: number;
        progress: number | object;
        repeatJobKey?: string;
        returnvalue: ReturnType;
        stacktrace: string[];
        timestamp: number;
        get prefix(): string;
        get queueName(): string;
        get queueQualifiedName(): string;
        asJSON(): JobJson;
        asJSONSandbox(): JobJsonSandbox;
        log(logRow): Promise<number>;
        updateData(data): Promise<void>;
        updateProgress(progress): Promise<void>;
    }

    Type Parameters

    • DataType = any
    • ReturnType = any
    • NameType extends string = string

    Implemented by

    Properties

    attemptsMade data delay failedReason @@ -26,37 +26,37 @@

    Properties

    attemptsMade: number

    Number of attempts after the job has failed.

    Default Value

    0
     
    -
    data: DataType

    The payload for this job.

    -
    delay: number

    An amount of milliseconds to wait until this job can be processed.

    +
    data: DataType

    The payload for this job.

    +
    delay: number

    An amount of milliseconds to wait until this job can be processed.

    Default Value

    0
     
    -
    failedReason: string

    Reason for failing.

    -
    finishedOn?: number

    Timestamp for when the job finished (completed or failed).

    -
    id?: string
    name: NameType

    The name of the Job

    -

    The options object for this job.

    -
    parent?: ParentKeys

    Object that contains parentId (id) and parent queueKey.

    -
    parentKey?: string

    Fully qualified key (including the queue prefix) pointing to the parent of this job.

    -
    processedOn?: number

    Timestamp for when the job was processed.

    -
    progress: number | object

    The progress a job has performed so far.

    +
    failedReason: string

    Reason for failing.

    +
    finishedOn?: number

    Timestamp for when the job finished (completed or failed).

    +
    id?: string
    name: NameType

    The name of the Job

    +

    The options object for this job.

    +
    parent?: ParentKeys

    Object that contains parentId (id) and parent queueKey.

    +
    parentKey?: string

    Fully qualified key (including the queue prefix) pointing to the parent of this job.

    +
    processedOn?: number

    Timestamp for when the job was processed.

    +
    progress: number | object

    The progress a job has performed so far.

    Default Value

    0
     
    -
    repeatJobKey?: string

    Base repeat job key.

    -
    returnvalue: ReturnType

    The value returned by the processor when processing this job.

    +
    repeatJobKey?: string

    Base repeat job key.

    +
    returnvalue: ReturnType

    The value returned by the processor when processing this job.

    Default Value

    null
     
    -
    stacktrace: string[]

    Stacktrace for the error (for failed jobs).

    +
    stacktrace: string[]

    Stacktrace for the error (for failed jobs).

    Default Value

    null
     
    -
    timestamp: number

    Timestamp when the job was created (unless overridden with job options).

    -

    Accessors

    • get queueQualifiedName(): string
    • Returns string

      it includes the prefix, the namespace separator :, and queue name.

      +
    timestamp: number

    Timestamp when the job was created (unless overridden with job options).

    +

    Accessors

    Methods

    Methods

    • Logs one row of log data.

      Parameters

      • logRow: string

        string with log data to be logged.

        -

      Returns Promise<number>

    • Updates a job's data

      +

    Returns Promise<number>

    Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.MoveToDelayedOpts.html b/interfaces/v5.MoveToDelayedOpts.html index fdff63047c..e99d855850 100644 --- a/interfaces/v5.MoveToDelayedOpts.html +++ b/interfaces/v5.MoveToDelayedOpts.html @@ -1,3 +1,3 @@ -MoveToDelayedOpts | bullmq - v5.34.4

    Interface MoveToDelayedOpts

    interface MoveToDelayedOpts {
        fieldsToUpdate?: Record<string, any>;
        skipAttempt?: boolean;
    }

    Properties

    fieldsToUpdate? +MoveToDelayedOpts | bullmq - v5.34.4

    Interface MoveToDelayedOpts

    interface MoveToDelayedOpts {
        fieldsToUpdate?: Record<string, any>;
        skipAttempt?: boolean;
    }

    Properties

    fieldsToUpdate?: Record<string, any>
    skipAttempt?: boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    fieldsToUpdate?: Record<string, any>
    skipAttempt?: boolean

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.MoveToWaitingChildrenOpts.html b/interfaces/v5.MoveToWaitingChildrenOpts.html index c6f83f8c39..18cf5c5b78 100644 --- a/interfaces/v5.MoveToWaitingChildrenOpts.html +++ b/interfaces/v5.MoveToWaitingChildrenOpts.html @@ -1,2 +1,2 @@ -MoveToWaitingChildrenOpts | bullmq - v5.34.4

    Interface MoveToWaitingChildrenOpts

    interface MoveToWaitingChildrenOpts {
        child?: {
            id: string;
            queue: string;
        };
    }

    Properties

    Properties

    child?: {
        id: string;
        queue: string;
    }

    Type declaration

    • id: string
    • queue: string

    Generated using TypeDoc

    \ No newline at end of file +MoveToWaitingChildrenOpts | bullmq - v5.34.4

    Interface MoveToWaitingChildrenOpts

    interface MoveToWaitingChildrenOpts {
        child?: {
            id: string;
            queue: string;
        };
    }

    Properties

    Properties

    child?: {
        id: string;
        queue: string;
    }

    Type declaration

    • id: string
    • queue: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.NodeOpts.html b/interfaces/v5.NodeOpts.html index f3b91f2a4d..4117276a92 100644 --- a/interfaces/v5.NodeOpts.html +++ b/interfaces/v5.NodeOpts.html @@ -1,11 +1,11 @@ -NodeOpts | bullmq - v5.34.4

    Interface NodeOpts

    interface NodeOpts {
        depth?: number;
        id: string;
        maxChildren?: number;
        prefix?: string;
        queueName: string;
    }

    Properties

    depth? +NodeOpts | bullmq - v5.34.4

    Interface NodeOpts

    interface NodeOpts {
        depth?: number;
        id: string;
        maxChildren?: number;
        prefix?: string;
        queueName: string;
    }

    Properties

    depth?: number

    Maximum depth or levels to visit in the tree.

    -
    id: string

    Root job id.

    -
    maxChildren?: number

    Maximum quantity of children per type (processed, unprocessed).

    -
    prefix?: string

    Prefix included in job key.

    -
    queueName: string

    Root job queue name.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    id: string

    Root job id.

    +
    maxChildren?: number

    Maximum quantity of children per type (processed, unprocessed).

    +
    prefix?: string

    Prefix included in job key.

    +
    queueName: string

    Root job queue name.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.ObliterateOpts.html b/interfaces/v5.ObliterateOpts.html index baeb2f7e7f..de648e5f13 100644 --- a/interfaces/v5.ObliterateOpts.html +++ b/interfaces/v5.ObliterateOpts.html @@ -1,9 +1,9 @@ -ObliterateOpts | bullmq - v5.34.4

    Interface ObliterateOpts

    interface ObliterateOpts {
        count?: number;
        force?: boolean;
    }

    Properties

    count? +ObliterateOpts | bullmq - v5.34.4

    Interface ObliterateOpts

    interface ObliterateOpts {
        count?: number;
        force?: boolean;
    }

    Properties

    Properties

    count?: number

    Use count with the maximum number of deleted keys per iteration

    Default Value

    1000
     
    -
    force?: boolean

    Use force = true to force obliteration even with active jobs in the queue

    +
    force?: boolean

    Use force = true to force obliteration even with active jobs in the queue

    Default Value

    false
     
    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Parent.html b/interfaces/v5.Parent.html index 4852bff09a..9edcd26b22 100644 --- a/interfaces/v5.Parent.html +++ b/interfaces/v5.Parent.html @@ -1,7 +1,7 @@ Parent | bullmq - v5.34.4

    Interface Parent<T>

    Describes the parent for a Job.

    -
    interface Parent<T> {
        data?: T;
        name: string;
        opts?: JobsOptions;
        prefix?: string;
        queue?: string;
    }

    Type Parameters

    • T

    Properties

    interface Parent<T> {
        data?: T;
        name: string;
        opts?: JobsOptions;
        prefix?: string;
        queue?: string;
    }

    Type Parameters

    • T

    Properties

    data?: T
    name: string
    prefix?: string
    queue?: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    data?: T
    name: string
    prefix?: string
    queue?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.ParentKeys.html b/interfaces/v5.ParentKeys.html index 1d3a0f12c6..24b7af293f 100644 --- a/interfaces/v5.ParentKeys.html +++ b/interfaces/v5.ParentKeys.html @@ -1,3 +1,3 @@ -ParentKeys | bullmq - v5.34.4

    Interface ParentKeys

    interface ParentKeys {
        id: string;
        queueKey: string;
    }

    Properties

    id +ParentKeys | bullmq - v5.34.4

    Interface ParentKeys

    interface ParentKeys {
        id: string;
        queueKey: string;
    }

    Properties

    Properties

    id: string
    queueKey: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    id: string
    queueKey: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.ParentMessage.html b/interfaces/v5.ParentMessage.html index a0fbf2593b..0845436407 100644 --- a/interfaces/v5.ParentMessage.html +++ b/interfaces/v5.ParentMessage.html @@ -1,5 +1,5 @@ -ParentMessage | bullmq - v5.34.4

    Interface ParentMessage

    interface ParentMessage {
        cmd: ChildCommand;
        err?: Error;
        job?: JobJson;
        value?: any;
    }

    Properties

    cmd +ParentMessage | bullmq - v5.34.4

    Interface ParentMessage

    interface ParentMessage {
        cmd: ChildCommand;
        err?: Error;
        job?: JobJson;
        value?: any;
    }

    Properties

    Properties

    err?: Error
    job?: JobJson
    value?: any

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    err?: Error
    job?: JobJson
    value?: any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.QueueBaseOptions.html b/interfaces/v5.QueueBaseOptions.html index cccf889245..6dab25ea5d 100644 --- a/interfaces/v5.QueueBaseOptions.html +++ b/interfaces/v5.QueueBaseOptions.html @@ -1,14 +1,14 @@ QueueBaseOptions | bullmq - v5.34.4

    Interface QueueBaseOptions

    Base Queue options

    -
    interface QueueBaseOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        prefix?: string;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    interface QueueBaseOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        prefix?: string;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    -

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    -
    prefix?: string

    Prefix for all queue keys.

    -
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    +

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    +
    prefix?: string

    Prefix for all queue keys.

    +
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    Default Value

    false
     
    -
    telemetry?: Telemetry<any>

    Telemetry client

    -

    Generated using TypeDoc

    \ No newline at end of file +
    telemetry?: Telemetry<any>

    Telemetry client

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.QueueEventsListener.html b/interfaces/v5.QueueEventsListener.html index 396cf95029..6ed49a8f60 100644 --- a/interfaces/v5.QueueEventsListener.html +++ b/interfaces/v5.QueueEventsListener.html @@ -1,4 +1,4 @@ -QueueEventsListener | bullmq - v5.34.4

    Interface QueueEventsListener

    interface QueueEventsListener {
        active: ((args, id) => void);
        added: ((args, id) => void);
        cleaned: ((args, id) => void);
        completed: ((args, id) => void);
        debounced: ((args, id) => void);
        deduplicated: ((args, id) => void);
        delayed: ((args, id) => void);
        drained: ((id) => void);
        duplicated: ((args, id) => void);
        error: ((args) => void);
        failed: ((args, id) => void);
        ioredis:close: (() => void);
        paused: ((args, id) => void);
        progress: ((args, id) => void);
        removed: ((args, id) => void);
        resumed: ((args, id) => void);
        retries-exhausted: ((args, id) => void);
        stalled: ((args, id) => void);
        waiting: ((args, id) => void);
        waiting-children: ((args, id) => void);
    }

    Hierarchy (view full)

    Properties

    active +QueueEventsListener | bullmq - v5.34.4

    Interface QueueEventsListener

    interface QueueEventsListener {
        active: ((args, id) => void);
        added: ((args, id) => void);
        cleaned: ((args, id) => void);
        completed: ((args, id) => void);
        debounced: ((args, id) => void);
        deduplicated: ((args, id) => void);
        delayed: ((args, id) => void);
        drained: ((id) => void);
        duplicated: ((args, id) => void);
        error: ((args) => void);
        failed: ((args, id) => void);
        ioredis:close: (() => void);
        paused: ((args, id) => void);
        progress: ((args, id) => void);
        removed: ((args, id) => void);
        resumed: ((args, id) => void);
        retries-exhausted: ((args, id) => void);
        stalled: ((args, id) => void);
        waiting: ((args, id) => void);
        waiting-children: ((args, id) => void);
    }

    Hierarchy (view full)

    Properties

    active added cleaned completed @@ -22,33 +22,33 @@

    This event is triggered when a job enters the 'active' state.

    Type declaration

      • (args, id): void
      • Listen to 'active' event.

        This event is triggered when a job enters the 'active' state.

        -

        Parameters

        • args: {
              jobId: string;
              prev?: string;
          }
          • jobId: string
          • Optional prev?: string
        • id: string

        Returns void

    added: ((args, id) => void)

    Listen to 'added' event.

    +

    Parameters

    • args: {
          jobId: string;
          prev?: string;
      }
      • jobId: string
      • Optional prev?: string
    • id: string

    Returns void

    added: ((args, id) => void)

    Listen to 'added' event.

    This event is triggered when a job is created.

    Type declaration

      • (args, id): void
      • Listen to 'added' event.

        This event is triggered when a job is created.

        -

        Parameters

        • args: {
              jobId: string;
              name: string;
          }
          • jobId: string
          • name: string
        • id: string

        Returns void

    cleaned: ((args, id) => void)

    Listen to 'cleaned' event.

    +

    Parameters

    • args: {
          jobId: string;
          name: string;
      }
      • jobId: string
      • name: string
    • id: string

    Returns void

    cleaned: ((args, id) => void)

    Listen to 'cleaned' event.

    This event is triggered when a cleaned method is triggered.

    Type declaration

      • (args, id): void
      • Listen to 'cleaned' event.

        This event is triggered when a cleaned method is triggered.

        -

        Parameters

        • args: {
              count: string;
          }
          • count: string
        • id: string

        Returns void

    completed: ((args, id) => void)

    Listen to 'completed' event.

    +

    Parameters

    • args: {
          count: string;
      }
      • count: string
    • id: string

    Returns void

    completed: ((args, id) => void)

    Listen to 'completed' event.

    This event is triggered when a job has successfully completed.

    Type declaration

      • (args, id): void
      • Listen to 'completed' event.

        This event is triggered when a job has successfully completed.

        -

        Parameters

        • args: {
              jobId: string;
              prev?: string;
              returnvalue: string;
          }
          • jobId: string
          • Optional prev?: string
          • returnvalue: string
        • id: string

        Returns void

    debounced: ((args, id) => void)

    Listen to 'debounced' event.

    +

    Parameters

    • args: {
          jobId: string;
          prev?: string;
          returnvalue: string;
      }
      • jobId: string
      • Optional prev?: string
      • returnvalue: string
    • id: string

    Returns void

    debounced: ((args, id) => void)

    Listen to 'debounced' event.

    Type declaration

      • (args, id): void
      • Listen to 'debounced' event.

        Parameters

        • args: {
              debounceId: string;
              jobId: string;
          }
          • debounceId: string
          • jobId: string
        • id: string

        Returns void

        Deprecated

        use deduplicated event

        This event is triggered when a job is debounced because debounceId still existed.

    Deprecated

    use deduplicated event

    This event is triggered when a job is debounced because debounceId still existed.

    -
    deduplicated: ((args, id) => void)

    Listen to 'deduplicated' event.

    +
    deduplicated: ((args, id) => void)

    Listen to 'deduplicated' event.

    This event is triggered when a job is deduplicated because deduplicatedId still existed.

    Type declaration

      • (args, id): void
      • Listen to 'deduplicated' event.

        This event is triggered when a job is deduplicated because deduplicatedId still existed.

        -

        Parameters

        • args: {
              deduplicationId: string;
              jobId: string;
          }
          • deduplicationId: string
          • jobId: string
        • id: string

        Returns void

    delayed: ((args, id) => void)

    Listen to 'delayed' event.

    +

    Parameters

    • args: {
          deduplicationId: string;
          jobId: string;
      }
      • deduplicationId: string
      • jobId: string
    • id: string

    Returns void

    delayed: ((args, id) => void)

    Listen to 'delayed' event.

    This event is triggered when a job is delayed.

    Type declaration

    drained: ((id) => void)

    Listen to 'drained' event.

    +

    Parameters

    Returns void

    drained: ((id) => void)

    Listen to 'drained' event.

    This event is triggered when the queue has drained the waiting list. Note that there could still be delayed jobs waiting their timers to expire and this event will still be triggered as long as the waiting list has emptied.

    @@ -56,27 +56,27 @@

    This event is triggered when the queue has drained the waiting list. Note that there could still be delayed jobs waiting their timers to expire and this event will still be triggered as long as the waiting list has emptied.

    -

    Parameters

    Returns void

    duplicated: ((args, id) => void)

    Listen to 'duplicated' event.

    +

    Parameters

    Returns void

    duplicated: ((args, id) => void)

    Listen to 'duplicated' event.

    This event is triggered when a job is not created because it already exist.

    Type declaration

    error: ((args) => void)

    Listen to 'error' event.

    +

    Parameters

    Returns void

    error: ((args) => void)

    Listen to 'error' event.

    This event is triggered when an exception is thrown.

    Type declaration

    failed: ((args, id) => void)

    Listen to 'failed' event.

    +

    Parameters

    Returns void

    failed: ((args, id) => void)

    Listen to 'failed' event.

    This event is triggered when a job has thrown an exception.

    Type declaration

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    +

    Parameters

    Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    This event is triggered when ioredis is closed.

    Type declaration

    paused: ((args, id) => void)

    Listen to 'paused' event.

    +

    Returns void

    paused: ((args, id) => void)

    Listen to 'paused' event.

    This event is triggered when a queue is paused.

    Type declaration

    progress: ((args, id) => void)

    Listen to 'progress' event.

    +

    Parameters

    Returns void

    progress: ((args, id) => void)

    Listen to 'progress' event.

    This event is triggered when a job updates it progress, i.e. the Job##updateProgress() method is called. This is useful to notify progress or any other data from within a processor to the rest of the @@ -86,21 +86,21 @@ Job##updateProgress() method is called. This is useful to notify progress or any other data from within a processor to the rest of the world.

    -

    Parameters

    Returns void

    removed: ((args, id) => void)

    Listen to 'removed' event.

    +

    Parameters

    Returns void

    removed: ((args, id) => void)

    Listen to 'removed' event.

    This event is triggered when a job has been manually removed from the queue.

    Type declaration

    resumed: ((args, id) => void)

    Listen to 'resumed' event.

    +

    Parameters

    Returns void

    resumed: ((args, id) => void)

    Listen to 'resumed' event.

    This event is triggered when a queue is resumed.

    Type declaration

    retries-exhausted: ((args, id) => void)

    Listen to 'retries-exhausted' event.

    +

    Parameters

    Returns void

    retries-exhausted: ((args, id) => void)

    Listen to 'retries-exhausted' event.

    This event is triggered when a job has retried the maximum attempts.

    Type declaration

    stalled: ((args, id) => void)

    Listen to 'stalled' event.

    +

    Parameters

    Returns void

    stalled: ((args, id) => void)

    Listen to 'stalled' event.

    This event is triggered when a job has been moved from 'active' back to 'waiting'/'failed' due to the processor not being able to renew the lock on the said job.

    @@ -108,12 +108,12 @@

    This event is triggered when a job has been moved from 'active' back to 'waiting'/'failed' due to the processor not being able to renew the lock on the said job.

    -

    Parameters

    Returns void

    waiting: ((args, id) => void)

    Listen to 'waiting' event.

    +

    Parameters

    Returns void

    waiting: ((args, id) => void)

    Listen to 'waiting' event.

    This event is triggered when a job enters the 'waiting' state.

    Type declaration

    waiting-children: ((args, id) => void)

    Listen to 'waiting-children' event.

    +

    Parameters

    Returns void

    waiting-children: ((args, id) => void)

    Listen to 'waiting-children' event.

    This event is triggered when a job enters the 'waiting-children' state.

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.QueueEventsOptions.html b/interfaces/v5.QueueEventsOptions.html index 96ff4a41cc..829cc30f2e 100644 --- a/interfaces/v5.QueueEventsOptions.html +++ b/interfaces/v5.QueueEventsOptions.html @@ -1,5 +1,5 @@ QueueEventsOptions | bullmq - v5.34.4

    Interface QueueEventsOptions

    Options for QueueEvents

    -
    interface QueueEventsOptions {
        autorun?: boolean;
        blockingConnection?: boolean;
        blockingTimeout?: number;
        connection: ConnectionOptions;
        lastEventId?: string;
        prefix?: string;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    interface QueueEventsOptions {
        autorun?: boolean;
        blockingConnection?: boolean;
        blockingTimeout?: number;
        connection: ConnectionOptions;
        lastEventId?: string;
        prefix?: string;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    autorun?: boolean

    Condition to start listening to events at instance creation.

    -
    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    -

    Deprecated

    blockingTimeout?: number

    Timeout for the blocking XREAD call to the events stream.

    -
    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    -
    lastEventId?: string

    Last event Id. If provided it is possible to continue +

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    +

    Deprecated

    blockingTimeout?: number

    Timeout for the blocking XREAD call to the events stream.

    +
    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    +
    lastEventId?: string

    Last event Id. If provided it is possible to continue consuming events from a known Id instead of from the last produced event.

    -
    prefix?: string

    Prefix for all queue keys.

    -
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    +
    prefix?: string

    Prefix for all queue keys.

    +
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    Default Value

    false
     
    -
    telemetry?: Telemetry<any>

    Telemetry client

    -

    Generated using TypeDoc

    \ No newline at end of file +
    telemetry?: Telemetry<any>

    Telemetry client

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.QueueListener.html b/interfaces/v5.QueueListener.html index 34ec3d3bf4..74ab146e05 100644 --- a/interfaces/v5.QueueListener.html +++ b/interfaces/v5.QueueListener.html @@ -1,4 +1,4 @@ -QueueListener | bullmq - v5.34.4

    Interface QueueListener<JobBase>

    interface QueueListener<JobBase> {
        cleaned: ((jobs, type) => void);
        error: ((err) => void);
        ioredis:close: (() => void);
        paused: (() => void);
        progress: ((job, progress) => void);
        removed: ((job) => void);
        resumed: (() => void);
        waiting: ((job) => void);
    }

    Type Parameters

    Hierarchy (view full)

    Properties

    cleaned +QueueListener | bullmq - v5.34.4

    Interface QueueListener<JobBase>

    interface QueueListener<JobBase> {
        cleaned: ((jobs, type) => void);
        error: ((err) => void);
        ioredis:close: (() => void);
        paused: (() => void);
        progress: ((job, progress) => void);
        removed: ((job) => void);
        resumed: (() => void);
        waiting: ((job) => void);
    }

    Type Parameters

    Hierarchy (view full)

    Properties

    cleaned error ioredis:close paused @@ -10,32 +10,32 @@

    This event is triggered when the queue calls clean method.

    Type declaration

      • (jobs, type): void
      • Listen to 'cleaned' event.

        This event is triggered when the queue calls clean method.

        -

        Parameters

        • jobs: string[]
        • type: string

        Returns void

    error: ((err) => void)

    Listen to 'error' event.

    +

    Parameters

    • jobs: string[]
    • type: string

    Returns void

    error: ((err) => void)

    Listen to 'error' event.

    This event is triggered when an error is thrown.

    Type declaration

      • (err): void
      • Listen to 'error' event.

        This event is triggered when an error is thrown.

        -

        Parameters

        • err: Error

        Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    +

    Parameters

    • err: Error

    Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    This event is triggered when ioredis is closed.

    Type declaration

      • (): void
      • Listen to 'ioredis:close' event.

        This event is triggered when ioredis is closed.

        -

        Returns void

    paused: (() => void)

    Listen to 'paused' event.

    +

    Returns void

    paused: (() => void)

    Listen to 'paused' event.

    This event is triggered when the queue is paused.

    Type declaration

      • (): void
      • Listen to 'paused' event.

        This event is triggered when the queue is paused.

        -

        Returns void

    progress: ((job, progress) => void)

    Listen to 'progress' event.

    +

    Returns void

    progress: ((job, progress) => void)

    Listen to 'progress' event.

    This event is triggered when the job updates its progress.

    Type declaration

      • (job, progress): void
      • Listen to 'progress' event.

        This event is triggered when the job updates its progress.

        -

        Parameters

        • job: JobBase
        • progress: number | object

        Returns void

    removed: ((job) => void)

    Listen to 'removed' event.

    +

    Parameters

    • job: JobBase
    • progress: number | object

    Returns void

    removed: ((job) => void)

    Listen to 'removed' event.

    This event is triggered when a job is removed.

    Type declaration

    resumed: (() => void)

    Listen to 'resumed' event.

    +

    Parameters

    Returns void

    resumed: (() => void)

    Listen to 'resumed' event.

    This event is triggered when the queue is resumed.

    Type declaration

    waiting: ((job) => void)

    Listen to 'waiting' event.

    +

    Returns void

    waiting: ((job) => void)

    Listen to 'waiting' event.

    This event is triggered when the queue creates a new job.

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.QueueOptions.html b/interfaces/v5.QueueOptions.html index 982e2e1538..6083a8cb79 100644 --- a/interfaces/v5.QueueOptions.html +++ b/interfaces/v5.QueueOptions.html @@ -1,5 +1,5 @@ QueueOptions | bullmq - v5.34.4

    Interface QueueOptions

    Options for the Queue class.

    -
    interface QueueOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        defaultJobOptions?: DefaultJobOptions;
        prefix?: string;
        settings?: AdvancedRepeatOptions;
        skipMetasUpdate?: boolean;
        skipVersionCheck?: boolean;
        streams?: {
            events: {
                maxLen: number;
            };
        };
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    interface QueueOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        defaultJobOptions?: DefaultJobOptions;
        prefix?: string;
        settings?: AdvancedRepeatOptions;
        skipMetasUpdate?: boolean;
        skipVersionCheck?: boolean;
        streams?: {
            events: {
                maxLen: number;
            };
        };
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    -

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    -
    defaultJobOptions?: DefaultJobOptions
    prefix?: string

    Prefix for all queue keys.

    -

    Advanced options for the repeatable jobs.

    -
    skipMetasUpdate?: boolean

    Skip Meta update.

    +

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    +
    defaultJobOptions?: DefaultJobOptions
    prefix?: string

    Prefix for all queue keys.

    +

    Advanced options for the repeatable jobs.

    +
    skipMetasUpdate?: boolean

    Skip Meta update.

    If true, the queue will not update the metadata of the queue. Useful for read-only systems that do should not update the metadata.

    Default Value

    false
     
    -
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    +
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    Default Value

    false
     
    -
    streams?: {
        events: {
            maxLen: number;
        };
    }

    Options for the streams used internally in BullMQ.

    +
    streams?: {
        events: {
            maxLen: number;
        };
    }

    Options for the streams used internally in BullMQ.

    Type declaration

    • events: {
          maxLen: number;
      }

      Options for the events stream.

      • maxLen: number

        Max approximated length for streams. Default is 10 000 events.

        -
    telemetry?: Telemetry<any>

    Telemetry client

    -

    Generated using TypeDoc

    \ No newline at end of file +
    telemetry?: Telemetry<any>

    Telemetry client

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.RateLimiterOptions.html b/interfaces/v5.RateLimiterOptions.html index 49955f043e..55c2a432e1 100644 --- a/interfaces/v5.RateLimiterOptions.html +++ b/interfaces/v5.RateLimiterOptions.html @@ -1,7 +1,7 @@ -RateLimiterOptions | bullmq - v5.34.4

    Interface RateLimiterOptions

    interface RateLimiterOptions {
        duration: number;
        max: number;
    }

    Properties

    duration +RateLimiterOptions | bullmq - v5.34.4

    Interface RateLimiterOptions

    interface RateLimiterOptions {
        duration: number;
        max: number;
    }

    Properties

    Properties

    duration: number

    Time in milliseconds. During this time, a maximum of max jobs will be processed.

    -
    max: number

    Max number of jobs to process in the time period +

    max: number

    Max number of jobs to process in the time period specified in duration.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.RawCommand.html b/interfaces/v5.RawCommand.html index 785b73dafd..f98b71465e 100644 --- a/interfaces/v5.RawCommand.html +++ b/interfaces/v5.RawCommand.html @@ -1,4 +1,4 @@ -RawCommand | bullmq - v5.34.4

    Interface RawCommand

    interface RawCommand {
        content: string;
        keys: number;
        name: string;
    }

    Properties

    content +RawCommand | bullmq - v5.34.4

    Interface RawCommand

    interface RawCommand {
        content: string;
        keys: number;
        name: string;
    }

    Properties

    Properties

    content: string
    keys: number
    name: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    content: string
    keys: number
    name: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.RepeatBaseOptions.html b/interfaces/v5.RepeatBaseOptions.html index 594124ef68..7e2860e5f4 100644 --- a/interfaces/v5.RepeatBaseOptions.html +++ b/interfaces/v5.RepeatBaseOptions.html @@ -1,15 +1,15 @@ RepeatBaseOptions | bullmq - v5.34.4

    Interface RepeatBaseOptions

    Options for the Repeat class.

    -
    interface RepeatBaseOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        prefix?: string;
        settings?: AdvancedRepeatOptions;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    interface RepeatBaseOptions {
        blockingConnection?: boolean;
        connection: ConnectionOptions;
        prefix?: string;
        settings?: AdvancedRepeatOptions;
        skipVersionCheck?: boolean;
        telemetry?: Telemetry<any>;
    }

    Hierarchy (view full)

    Properties

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    -

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    -
    prefix?: string

    Prefix for all queue keys.

    -
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    +

    Deprecated

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    +
    prefix?: string

    Prefix for all queue keys.

    +
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    Default Value

    false
     
    -
    telemetry?: Telemetry<any>

    Telemetry client

    -

    Generated using TypeDoc

    \ No newline at end of file +
    telemetry?: Telemetry<any>

    Telemetry client

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.RepeatOptions.html b/interfaces/v5.RepeatOptions.html index 1a333d0c10..85712d0764 100644 --- a/interfaces/v5.RepeatOptions.html +++ b/interfaces/v5.RepeatOptions.html @@ -1,6 +1,6 @@ RepeatOptions | bullmq - v5.34.4

    Interface RepeatOptions

    Settings for repeatable jobs

    interface RepeatOptions {
        count?: number;
        every?: number;
        immediately?: boolean;
        jobId?: string;
        key?: string;
        limit?: number;
        offset?: number;
        pattern?: string;
        prevMillis?: number;
    }

    Hierarchy

    • Omit<ParserOptions, "iterator">
      • RepeatOptions

    Properties

    interface RepeatOptions {
        count?: number;
        every?: number;
        immediately?: boolean;
        jobId?: string;
        key?: string;
        limit?: number;
        offset?: number;
        pattern?: string;
        prevMillis?: number;
    }

    Hierarchy

    • Omit<ParserOptions, "iterator">
      • RepeatOptions

    Properties

    Properties

    count?: number

    The start value for the repeat iteration count.

    -
    every?: number

    Repeat after this amount of milliseconds +

    every?: number

    Repeat after this amount of milliseconds (pattern setting cannot be used together with this setting.)

    -
    immediately?: boolean

    Repeated job should start right now +

    immediately?: boolean

    Repeated job should start right now ( work only with cron settings)

    -
    jobId?: string

    Internal property to store de job id

    -

    Deprecated

    key?: string

    Custom repeatable key. This is the key that holds the "metadata" +

    jobId?: string

    Internal property to store de job id

    +

    Deprecated

    key?: string

    Custom repeatable key. This is the key that holds the "metadata" of a given repeatable job. This key is normally auto-generated but it is sometimes useful to specify a custom key for easier retrieval of repeatable jobs.

    -
    limit?: number

    Number of times the job should repeat at max.

    -
    offset?: number

    Offset in milliseconds to affect the next iteration time

    -
    pattern?: string

    A repeat pattern

    -
    prevMillis?: number

    Internal property to store the previous time the job was executed.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    limit?: number

    Number of times the job should repeat at max.

    +
    offset?: number

    Offset in milliseconds to affect the next iteration time

    +
    pattern?: string

    A repeat pattern

    +
    prevMillis?: number

    Internal property to store the previous time the job was executed.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.SandboxedJob.html b/interfaces/v5.SandboxedJob.html index 423f625f00..2a6c81a679 100644 --- a/interfaces/v5.SandboxedJob.html +++ b/interfaces/v5.SandboxedJob.html @@ -1,5 +1,5 @@ SandboxedJob | bullmq - v5.34.4

    Interface SandboxedJob<T, R>

    interface SandboxedJob<T, R> {
        attemptsMade: number;
        attemptsStarted: number;
        data: T;
        debounceId?: string;
        deduplicationId?: string;
        failedReason: string;
        finishedOn?: number;
        id: string;
        log: ((row) => void);
        moveToDelayed: ((timestamp, token?) => Promise<void>);
        name: string;
        nextRepeatableJobKey?: string;
        opts: JobsOptions;
        parent?: ParentKeys;
        parentKey?: string;
        prefix: string;
        processedBy?: string;
        processedOn?: number;
        progress: number | object;
        queueName: string;
        repeatJobKey?: string;
        returnValue: R;
        returnvalue: string;
        stacktrace: string;
        timestamp: number;
        updateData: ((data) => Promise<void>);
        updateProgress: ((value) => Promise<void>);
    }

    Type Parameters

    • T = any
    • R = any

    Hierarchy

    Properties

    interface SandboxedJob<T, R> {
        attemptsMade: number;
        attemptsStarted: number;
        data: T;
        debounceId?: string;
        deduplicationId?: string;
        failedReason: string;
        finishedOn?: number;
        id: string;
        log: ((row) => void);
        moveToDelayed: ((timestamp, token?) => Promise<void>);
        name: string;
        nextRepeatableJobKey?: string;
        opts: JobsOptions;
        parent?: ParentKeys;
        parentKey?: string;
        prefix: string;
        processedBy?: string;
        processedOn?: number;
        progress: number | object;
        queueName: string;
        repeatJobKey?: string;
        returnValue: R;
        returnvalue: string;
        stacktrace: string;
        timestamp: number;
        updateData: ((data) => Promise<void>);
        updateProgress: ((value) => Promise<void>);
    }

    Type Parameters

    • T = any
    • R = any

    Hierarchy

    Properties

    attemptsMade: number
    attemptsStarted: number
    data: T
    debounceId?: string
    deduplicationId?: string
    failedReason: string
    finishedOn?: number
    id: string
    log: ((row) => void)

    Type declaration

      • (row): void
      • Parameters

        • row: any

        Returns void

    moveToDelayed: ((timestamp, token?) => Promise<void>)

    Type declaration

      • (timestamp, token?): Promise<void>
      • Parameters

        • timestamp: number
        • Optional token: string

        Returns Promise<void>

    name: string
    nextRepeatableJobKey?: string
    parent?: ParentKeys
    parentKey?: string
    prefix: string
    processedBy?: string
    processedOn?: number
    progress: number | object
    queueName: string
    repeatJobKey?: string
    returnValue: R
    returnvalue: string
    stacktrace: string
    timestamp: number
    updateData: ((data) => Promise<void>)

    Type declaration

      • (data): Promise<void>
      • Parameters

        • data: any

        Returns Promise<void>

    updateProgress: ((value) => Promise<void>)

    Type declaration

      • (value): Promise<void>
      • Parameters

        • value: number | object

        Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    attemptsMade: number
    attemptsStarted: number
    data: T
    debounceId?: string
    deduplicationId?: string
    failedReason: string
    finishedOn?: number
    id: string
    log: ((row) => void)

    Type declaration

      • (row): void
      • Parameters

        • row: any

        Returns void

    moveToDelayed: ((timestamp, token?) => Promise<void>)

    Type declaration

      • (timestamp, token?): Promise<void>
      • Parameters

        • timestamp: number
        • Optional token: string

        Returns Promise<void>

    name: string
    nextRepeatableJobKey?: string
    parent?: ParentKeys
    parentKey?: string
    prefix: string
    processedBy?: string
    processedOn?: number
    progress: number | object
    queueName: string
    repeatJobKey?: string
    returnValue: R
    returnvalue: string
    stacktrace: string
    timestamp: number
    updateData: ((data) => Promise<void>)

    Type declaration

      • (data): Promise<void>
      • Parameters

        • data: any

        Returns Promise<void>

    updateProgress: ((value) => Promise<void>)

    Type declaration

      • (value): Promise<void>
      • Parameters

        • value: number | object

        Returns Promise<void>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.SandboxedOptions.html b/interfaces/v5.SandboxedOptions.html index c913724b2c..60766ad977 100644 --- a/interfaces/v5.SandboxedOptions.html +++ b/interfaces/v5.SandboxedOptions.html @@ -1,4 +1,4 @@ -SandboxedOptions | bullmq - v5.34.4

    Interface SandboxedOptions

    interface SandboxedOptions {
        useWorkerThreads?: boolean;
        workerForkOptions?: ForkOptions;
        workerThreadsOptions?: WorkerOptions;
    }

    Hierarchy (view full)

    Properties

    useWorkerThreads? +SandboxedOptions | bullmq - v5.34.4

    Interface SandboxedOptions

    interface SandboxedOptions {
        useWorkerThreads?: boolean;
        workerForkOptions?: ForkOptions;
        workerThreadsOptions?: WorkerOptions;
    }

    Hierarchy (view full)

    Properties

    useWorkerThreads?: boolean

    Use Worker Threads instead of Child Processes. @@ -6,12 +6,12 @@ a file for the processor argument.

    Default

    false
     
    -
    workerForkOptions?: ForkOptions

    Support passing Worker Fork Options. +

    workerForkOptions?: ForkOptions

    Support passing Worker Fork Options. Note: This option can only be used when specifying a file for the processor argument and useWorkerThreads is passed as false (default value).

    workerThreadsOptions?: WorkerOptions

    Support passing Worker Threads Options. +

    workerThreadsOptions?: WorkerOptions

    Support passing Worker Threads Options. Note: This option can only be used when specifying a file for the processor argument and useWorkerThreads is passed as true.

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Span.html b/interfaces/v5.Span.html index 23735dc6e1..0ab715fc18 100644 --- a/interfaces/v5.Span.html +++ b/interfaces/v5.Span.html @@ -1,16 +1,16 @@ Span | bullmq - v5.34.4

    Interface Span<Context>

    Span interface

    -
    interface Span<Context> {
        addEvent(name, attributes?): void;
        end(): void;
        recordException(exception, time?): void;
        setAttribute(key, value): void;
        setAttributes(attributes): void;
        setSpanOnContext(ctx): Context;
    }

    Type Parameters

    • Context = any

    Methods

    interface Span<Context> {
        addEvent(name, attributes?): void;
        end(): void;
        recordException(exception, time?): void;
        setAttribute(key, value): void;
        setAttributes(attributes): void;
        setSpanOnContext(ctx): Context;
    }

    Type Parameters

    • Context = any

    Methods

    • end ends the span.

      Note: spans must be ended so that they can be exported.

      -

      Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Context

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.SpanOptions.html b/interfaces/v5.SpanOptions.html index 0e80092d7f..ce1277012b 100644 --- a/interfaces/v5.SpanOptions.html +++ b/interfaces/v5.SpanOptions.html @@ -1,2 +1,2 @@ -SpanOptions | bullmq - v5.34.4

    Interface SpanOptions

    interface SpanOptions {
        kind: SpanKind;
    }

    Properties

    Properties

    kind: SpanKind

    Generated using TypeDoc

    \ No newline at end of file +SpanOptions | bullmq - v5.34.4

    Interface SpanOptions

    interface SpanOptions {
        kind: SpanKind;
    }

    Properties

    Properties

    kind: SpanKind

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Telemetry.html b/interfaces/v5.Telemetry.html index fdb05c4f42..b3dab03563 100644 --- a/interfaces/v5.Telemetry.html +++ b/interfaces/v5.Telemetry.html @@ -2,12 +2,12 @@

    This interface allows third-party libraries to integrate their own telemetry system. The interface is heavily inspired by OpenTelemetry but it's not limited to it.

    -
    interface Telemetry<Context> {
        contextManager: ContextManager<any>;
        tracer: Tracer<Context>;
    }

    Type Parameters

    Properties

    interface Telemetry<Context> {
        contextManager: ContextManager<any>;
        tracer: Tracer<Context>;
    }

    Type Parameters

    • Context = any

    Properties

    contextManager: ContextManager<any>

    Context manager instance

    The context manager is responsible for managing the context and propagating it across the application.

    -
    tracer: Tracer<Context>

    Tracer instance

    +
    tracer: Tracer<Context>

    Tracer instance

    The tracer is responsible for creating spans and propagating the context across the application.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.Tracer.html b/interfaces/v5.Tracer.html index 250c5d1a31..b3d5623d69 100644 --- a/interfaces/v5.Tracer.html +++ b/interfaces/v5.Tracer.html @@ -1,6 +1,6 @@ Tracer | bullmq - v5.34.4

    Interface Tracer<Context>

    Tracer interface

    -
    interface Tracer<Context> {
        startSpan(name, options?, context?): Span<any>;
    }

    Type Parameters

    • Context = any

    Methods

    interface Tracer<Context> {
        startSpan(name, options?, context?): Span<any>;
    }

    Type Parameters

    • Context = any

    Methods

    Methods

    • startSpan creates a new Span with the given name and options on an optional context. If the context is not provided, the current active context should be used.

      -

      Parameters

      Returns Span<any>

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Span<any>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.WorkerListener.html b/interfaces/v5.WorkerListener.html index a95b34622e..dd6f3abc2d 100644 --- a/interfaces/v5.WorkerListener.html +++ b/interfaces/v5.WorkerListener.html @@ -1,4 +1,4 @@ -WorkerListener | bullmq - v5.34.4

    Interface WorkerListener<DataType, ResultType, NameType>

    interface WorkerListener<DataType, ResultType, NameType> {
        active: ((job, prev) => void);
        closed: (() => void);
        closing: ((msg) => void);
        completed: ((job, result, prev) => void);
        drained: (() => void);
        error: ((failedReason) => void);
        failed: ((job, error, prev) => void);
        ioredis:close: (() => void);
        paused: (() => void);
        progress: ((job, progress) => void);
        ready: (() => void);
        resumed: (() => void);
        stalled: ((jobId, prev) => void);
    }

    Type Parameters

    • DataType = any
    • ResultType = any
    • NameType extends string = string

    Hierarchy (view full)

    Properties

    active +WorkerListener | bullmq - v5.34.4

    Interface WorkerListener<DataType, ResultType, NameType>

    interface WorkerListener<DataType, ResultType, NameType> {
        active: ((job, prev) => void);
        closed: (() => void);
        closing: ((msg) => void);
        completed: ((job, result, prev) => void);
        drained: (() => void);
        error: ((failedReason) => void);
        failed: ((job, error, prev) => void);
        ioredis:close: (() => void);
        paused: (() => void);
        progress: ((job, progress) => void);
        ready: (() => void);
        resumed: (() => void);
        stalled: ((jobId, prev) => void);
    }

    Type Parameters

    • DataType = any
    • ResultType = any
    • NameType extends string = string

    Hierarchy (view full)

    Properties

    active closed closing completed @@ -15,19 +15,19 @@

    This event is triggered when a job enters the 'active' state.

    Type declaration

      • (job, prev): void
      • Listen to 'active' event.

        This event is triggered when a job enters the 'active' state.

        -

        Parameters

        Returns void

    closed: (() => void)

    Listen to 'closing' event.

    +

    Parameters

    Returns void

    closed: (() => void)

    Listen to 'closing' event.

    This event is triggered when the worker is closed.

    Type declaration

      • (): void
      • Listen to 'closing' event.

        This event is triggered when the worker is closed.

        -

        Returns void

    closing: ((msg) => void)

    Listen to 'closing' event.

    +

    Returns void

    closing: ((msg) => void)

    Listen to 'closing' event.

    This event is triggered when the worker is closing.

    Type declaration

      • (msg): void
      • Listen to 'closing' event.

        This event is triggered when the worker is closing.

        -

        Parameters

        • msg: string

        Returns void

    completed: ((job, result, prev) => void)

    Listen to 'completed' event.

    +

    Parameters

    • msg: string

    Returns void

    completed: ((job, result, prev) => void)

    Listen to 'completed' event.

    This event is triggered when a job has successfully completed.

    Type declaration

      • (job, result, prev): void
      • Listen to 'completed' event.

        This event is triggered when a job has successfully completed.

        -

        Parameters

        Returns void

    drained: (() => void)

    Listen to 'drained' event.

    +

    Parameters

    Returns void

    drained: (() => void)

    Listen to 'drained' event.

    This event is triggered when the queue has drained the waiting list. Note that there could still be delayed jobs waiting their timers to expire and this event will still be triggered as long as the waiting list has emptied.

    @@ -35,11 +35,11 @@

    This event is triggered when the queue has drained the waiting list. Note that there could still be delayed jobs waiting their timers to expire and this event will still be triggered as long as the waiting list has emptied.

    -

    Returns void

    error: ((failedReason) => void)

    Listen to 'error' event.

    +

    Returns void

    error: ((failedReason) => void)

    Listen to 'error' event.

    This event is triggered when an error is throw.

    Type declaration

    failed: ((job, error, prev) => void)

    Listen to 'failed' event.

    +

    Parameters

    Returns void

    failed: ((job, error, prev) => void)

    Listen to 'failed' event.

    This event is triggered when a job has thrown an exception. Note: job parameter could be received as undefined when an stalled job reaches the stalled limit and it is deleted by the removeOnFail option.

    @@ -47,15 +47,15 @@

    This event is triggered when a job has thrown an exception. Note: job parameter could be received as undefined when an stalled job reaches the stalled limit and it is deleted by the removeOnFail option.

    -

    Parameters

    Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    +

    Parameters

    Returns void

    ioredis:close: (() => void)

    Listen to 'ioredis:close' event.

    This event is triggered when ioredis is closed.

    Type declaration

    paused: (() => void)

    Listen to 'paused' event.

    +

    Returns void

    paused: (() => void)

    Listen to 'paused' event.

    This event is triggered when the queue is paused.

    Type declaration

    progress: ((job, progress) => void)

    Listen to 'progress' event.

    +

    Returns void

    progress: ((job, progress) => void)

    Listen to 'progress' event.

    This event is triggered when a job updates it progress, i.e. the Job##updateProgress() method is called. This is useful to notify progress or any other data from within a processor to the rest of the @@ -65,18 +65,18 @@ Job##updateProgress() method is called. This is useful to notify progress or any other data from within a processor to the rest of the world.

    -

    Parameters

    Returns void

    ready: (() => void)

    Listen to 'ready' event.

    +

    Parameters

    Returns void

    ready: (() => void)

    Listen to 'ready' event.

    This event is triggered when blockingConnection is ready.

    Type declaration

    resumed: (() => void)

    Listen to 'resumed' event.

    +

    Returns void

    resumed: (() => void)

    Listen to 'resumed' event.

    This event is triggered when the queue is resumed.

    Type declaration

    stalled: ((jobId, prev) => void)

    Listen to 'stalled' event.

    +

    Returns void

    stalled: ((jobId, prev) => void)

    Listen to 'stalled' event.

    This event is triggered when a job has stalled and has been moved back to the wait list.

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/v5.WorkerOptions.html b/interfaces/v5.WorkerOptions.html index ef0b117b7c..f0f2c0a038 100644 --- a/interfaces/v5.WorkerOptions.html +++ b/interfaces/v5.WorkerOptions.html @@ -1,5 +1,5 @@ WorkerOptions | bullmq - v5.34.4

    Interface WorkerOptions

    Base Queue options

    -
    interface WorkerOptions {
        autorun?: boolean;
        blockingConnection?: boolean;
        concurrency?: number;
        connection: ConnectionOptions;
        drainDelay?: number;
        limiter?: RateLimiterOptions;
        lockDuration?: number;
        lockRenewTime?: number;
        maxStalledCount?: number;
        metrics?: MetricsOptions;
        name?: string;
        prefix?: string;
        removeOnComplete?: KeepJobs;
        removeOnFail?: KeepJobs;
        runRetryDelay?: number;
        settings?: AdvancedOptions;
        skipLockRenewal?: boolean;
        skipStalledCheck?: boolean;
        skipVersionCheck?: boolean;
        stalledInterval?: number;
        telemetry?: Telemetry<any>;
        useWorkerThreads?: boolean;
        workerForkOptions?: ForkOptions;
        workerThreadsOptions?: WorkerOptions;
    }

    Hierarchy (view full)

    Properties

    interface WorkerOptions {
        autorun?: boolean;
        blockingConnection?: boolean;
        concurrency?: number;
        connection: ConnectionOptions;
        drainDelay?: number;
        limiter?: RateLimiterOptions;
        lockDuration?: number;
        lockRenewTime?: number;
        maxStalledCount?: number;
        metrics?: MetricsOptions;
        name?: string;
        prefix?: string;
        removeOnComplete?: KeepJobs;
        removeOnFail?: KeepJobs;
        runRetryDelay?: number;
        settings?: AdvancedOptions;
        skipLockRenewal?: boolean;
        skipStalledCheck?: boolean;
        skipVersionCheck?: boolean;
        stalledInterval?: number;
        telemetry?: Telemetry<any>;
        useWorkerThreads?: boolean;
        workerForkOptions?: ForkOptions;
        workerThreadsOptions?: WorkerOptions;
    }

    Hierarchy (view full)

    Properties

    Properties

    autorun?: boolean

    Condition to start processor at instance creation.

    Default

    true
     
    -
    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    -

    Deprecated

    concurrency?: number

    Amount of jobs that a single worker is allowed to work on +

    blockingConnection?: boolean

    Denotes commands should retry indefinitely.

    +

    Deprecated

    concurrency?: number

    Amount of jobs that a single worker is allowed to work on in parallel.

    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    -
    drainDelay?: number

    Number of seconds to long poll for jobs when the queue is empty.

    +
    connection: ConnectionOptions

    Options for connecting to a Redis instance.

    +
    drainDelay?: number

    Number of seconds to long poll for jobs when the queue is empty.

    Default

    5
     
    -

    Enable rate limiter

    +

    Enable rate limiter

    lockDuration?: number

    Duration of the lock for the job in milliseconds. The lock represents that +

    lockDuration?: number

    Duration of the lock for the job in milliseconds. The lock represents that a worker is processing the job. If the lock is lost, the job will be eventually be picked up by the stalled checker and move back to wait so that another worker can process it again.

    Default

    30000
     
    -
    lockRenewTime?: number

    The time in milliseconds before the lock is automatically renewed.

    +
    lockRenewTime?: number

    The time in milliseconds before the lock is automatically renewed.

    It is not recommended to modify this value, which is by default set to halv the lockDuration value, which is optimal for most use cases.

    -
    maxStalledCount?: number

    Amount of times a job can be recovered from a stalled state +

    maxStalledCount?: number

    Amount of times a job can be recovered from a stalled state to the wait state. If this is exceeded, the job is moved to failed.

    Default

    1
     
    -
    metrics?: MetricsOptions

    Enable collect metrics.

    +
    metrics?: MetricsOptions

    Enable collect metrics.

    name?: string

    Optional worker name. The name will be stored on every job +

    name?: string

    Optional worker name. The name will be stored on every job processed by this worker instance, and can be used to monitor which worker is processing or has processed a given job.

    -
    prefix?: string

    Prefix for all queue keys.

    -
    removeOnComplete?: KeepJobs

    You can provide an object specifying max +

    prefix?: string

    Prefix for all queue keys.

    +
    removeOnComplete?: KeepJobs

    You can provide an object specifying max age and/or count to keep. Default behavior is to keep the job in the completed set.

    -
    removeOnFail?: KeepJobs

    You can provide an object specifying max +

    removeOnFail?: KeepJobs

    You can provide an object specifying max age and/or count to keep. Default behavior is to keep the job in the failed set.

    -
    runRetryDelay?: number

    This is an internal option that should not be modified.

    +
    runRetryDelay?: number

    This is an internal option that should not be modified.

    Default

    15000
     
    -
    settings?: AdvancedOptions

    More advanced options.

    -
    skipLockRenewal?: boolean

    Skip lock renewal for this worker. If set to true, the lock will expire +

    settings?: AdvancedOptions

    More advanced options.

    +
    skipLockRenewal?: boolean

    Skip lock renewal for this worker. If set to true, the lock will expire after lockDuration and moved back to the wait queue (if the stalled check is not disabled)

    Default

    false
     
    -
    skipStalledCheck?: boolean

    Skip stalled check for this worker. Note that other workers could still +

    skipStalledCheck?: boolean

    Skip stalled check for this worker. Note that other workers could still perform stalled checkd and move jobs back to wait for jobs being processed by this worker.

    Default

    false
     
    -
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    +
    skipVersionCheck?: boolean

    Avoid version validation to be greater or equal than v5.0.0.

    Default Value

    false
     
    -
    stalledInterval?: number

    Number of milliseconds between stallness checks.

    +
    stalledInterval?: number

    Number of milliseconds between stallness checks.

    Default

    30000
     
    -
    telemetry?: Telemetry<any>

    Telemetry Addon

    -
    useWorkerThreads?: boolean

    Use Worker Threads instead of Child Processes. +

    telemetry?: Telemetry<any>

    Telemetry Addon

    +
    useWorkerThreads?: boolean

    Use Worker Threads instead of Child Processes. Note: This option can only be used when specifying a file for the processor argument.

    Default

    false
     
    -
    workerForkOptions?: ForkOptions

    Support passing Worker Fork Options. +

    workerForkOptions?: ForkOptions

    Support passing Worker Fork Options. Note: This option can only be used when specifying a file for the processor argument and useWorkerThreads is passed as false (default value).

    workerThreadsOptions?: WorkerOptions

    Support passing Worker Threads Options. +

    workerThreadsOptions?: WorkerOptions

    Support passing Worker Threads Options. Note: This option can only be used when specifying a file for the processor argument and useWorkerThreads is passed as true.

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.AttributeValue.html b/types/v5.AttributeValue.html index 2b35ae834a..71c1b7aa73 100644 --- a/types/v5.AttributeValue.html +++ b/types/v5.AttributeValue.html @@ -1 +1 @@ -AttributeValue | bullmq - v5.34.4

    Type alias AttributeValue

    AttributeValue: string | number | boolean | (null | undefined | string)[] | (null | undefined | number)[] | (null | undefined | boolean)[]

    Generated using TypeDoc

    \ No newline at end of file +AttributeValue | bullmq - v5.34.4

    Type alias AttributeValue

    AttributeValue: string | number | boolean | (null | undefined | string)[] | (null | undefined | number)[] | (null | undefined | boolean)[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.BackoffStrategy.html b/types/v5.BackoffStrategy.html index 9de2409018..7b4e570769 100644 --- a/types/v5.BackoffStrategy.html +++ b/types/v5.BackoffStrategy.html @@ -1 +1 @@ -BackoffStrategy | bullmq - v5.34.4

    Type alias BackoffStrategy

    BackoffStrategy: ((attemptsMade, type?, err?, job?) => Promise<number> | number)

    Type declaration

      • (attemptsMade, type?, err?, job?): Promise<number> | number
      • Parameters

        • attemptsMade: number
        • Optional type: string
        • Optional err: Error
        • Optional job: MinimalJob

        Returns Promise<number> | number

    Generated using TypeDoc

    \ No newline at end of file +BackoffStrategy | bullmq - v5.34.4

    Type alias BackoffStrategy

    BackoffStrategy: ((attemptsMade, type?, err?, job?) => Promise<number> | number)

    Type declaration

      • (attemptsMade, type?, err?, job?): Promise<number> | number
      • Parameters

        • attemptsMade: number
        • Optional type: string
        • Optional err: Error
        • Optional job: MinimalJob

        Returns Promise<number> | number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.BulkJobOptions.html b/types/v5.BulkJobOptions.html index fbac105502..167d6a0df5 100644 --- a/types/v5.BulkJobOptions.html +++ b/types/v5.BulkJobOptions.html @@ -1 +1 @@ -BulkJobOptions | bullmq - v5.34.4

    Type alias BulkJobOptions

    BulkJobOptions: Omit<JobsOptions, "repeat">

    Generated using TypeDoc

    \ No newline at end of file +BulkJobOptions | bullmq - v5.34.4

    Type alias BulkJobOptions

    BulkJobOptions: Omit<JobsOptions, "repeat">

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.ClusterOptions.html b/types/v5.ClusterOptions.html index 8c23cca442..96b41eef5c 100644 --- a/types/v5.ClusterOptions.html +++ b/types/v5.ClusterOptions.html @@ -1 +1 @@ -ClusterOptions | bullmq - v5.34.4

    Type alias ClusterOptions

    ClusterOptions: IORedis.ClusterOptions & BaseOptions

    Generated using TypeDoc

    \ No newline at end of file +ClusterOptions | bullmq - v5.34.4

    Type alias ClusterOptions

    ClusterOptions: IORedis.ClusterOptions & BaseOptions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.CompressableJobOptions.html b/types/v5.CompressableJobOptions.html index 89af78b21a..4e667221d4 100644 --- a/types/v5.CompressableJobOptions.html +++ b/types/v5.CompressableJobOptions.html @@ -11,4 +11,4 @@
  • Optional omitContext?: boolean

    If true telemetry will omit the context propagation

    Default

    false
     
    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.ConnectionOptions.html b/types/v5.ConnectionOptions.html index b34d82a514..f3c02b0b23 100644 --- a/types/v5.ConnectionOptions.html +++ b/types/v5.ConnectionOptions.html @@ -1 +1 @@ -ConnectionOptions | bullmq - v5.34.4

    Type alias ConnectionOptions

    ConnectionOptions: RedisOptions | ClusterOptions | IORedis.Redis | IORedis.Cluster

    Generated using TypeDoc

    \ No newline at end of file +ConnectionOptions | bullmq - v5.34.4

    Type alias ConnectionOptions

    ConnectionOptions: RedisOptions | ClusterOptions | IORedis.Redis | IORedis.Cluster

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.EntryId.html b/types/v5.EntryId.html index f885c91873..a9bfe70aad 100644 --- a/types/v5.EntryId.html +++ b/types/v5.EntryId.html @@ -1 +1 @@ -EntryId | bullmq - v5.34.4

    Type alias EntryId

    EntryId: string

    Generated using TypeDoc

    \ No newline at end of file +EntryId | bullmq - v5.34.4

    Type alias EntryId

    EntryId: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.EntryRaw.html b/types/v5.EntryRaw.html index e00269b1f4..654dd0ad42 100644 --- a/types/v5.EntryRaw.html +++ b/types/v5.EntryRaw.html @@ -1 +1 @@ -EntryRaw | bullmq - v5.34.4

    Type alias EntryRaw

    EntryRaw: [EntryId, string[]]

    Generated using TypeDoc

    \ No newline at end of file +EntryRaw | bullmq - v5.34.4

    Type alias EntryRaw

    EntryRaw: [EntryId, string[]]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.Exception.html b/types/v5.Exception.html index 0e0556a610..61f7e25c5c 100644 --- a/types/v5.Exception.html +++ b/types/v5.Exception.html @@ -1 +1 @@ -Exception | bullmq - v5.34.4

    Type alias Exception

    Exception: string | ExceptionType

    Generated using TypeDoc

    \ No newline at end of file +Exception | bullmq - v5.34.4

    Type alias Exception

    Exception: string | ExceptionType

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.ExceptionType.html b/types/v5.ExceptionType.html index 745b1374c7..b59ff126d0 100644 --- a/types/v5.ExceptionType.html +++ b/types/v5.ExceptionType.html @@ -1 +1 @@ -ExceptionType | bullmq - v5.34.4

    Type alias ExceptionType

    ExceptionType: CodeException | MessageException | NameException

    Generated using TypeDoc

    \ No newline at end of file +ExceptionType | bullmq - v5.34.4

    Type alias ExceptionType

    ExceptionType: CodeException | MessageException | NameException

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.FinishedPropValAttribute.html b/types/v5.FinishedPropValAttribute.html index d7a88d5e30..fab6696ab0 100644 --- a/types/v5.FinishedPropValAttribute.html +++ b/types/v5.FinishedPropValAttribute.html @@ -1 +1 @@ -FinishedPropValAttribute | bullmq - v5.34.4

    Type alias FinishedPropValAttribute

    FinishedPropValAttribute: "returnvalue" | "failedReason"

    Generated using TypeDoc

    \ No newline at end of file +FinishedPropValAttribute | bullmq - v5.34.4

    Type alias FinishedPropValAttribute

    FinishedPropValAttribute: "returnvalue" | "failedReason"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.FinishedStatus.html b/types/v5.FinishedStatus.html index 184ec7987a..6bc3352199 100644 --- a/types/v5.FinishedStatus.html +++ b/types/v5.FinishedStatus.html @@ -1 +1 @@ -FinishedStatus | bullmq - v5.34.4

    Type alias FinishedStatus

    FinishedStatus: "completed" | "failed"

    Generated using TypeDoc

    \ No newline at end of file +FinishedStatus | bullmq - v5.34.4

    Type alias FinishedStatus

    FinishedStatus: "completed" | "failed"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.FlowChildJob.html b/types/v5.FlowChildJob.html index 7cc8f6a500..75bf970f0b 100644 --- a/types/v5.FlowChildJob.html +++ b/types/v5.FlowChildJob.html @@ -1 +1 @@ -FlowChildJob | bullmq - v5.34.4

    Type alias FlowChildJob

    FlowChildJob: FlowJobBase<Omit<JobsOptions, "parent">>

    Generated using TypeDoc

    \ No newline at end of file +FlowChildJob | bullmq - v5.34.4

    Type alias FlowChildJob

    FlowChildJob: FlowJobBase<Omit<JobsOptions, "parent">>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.FlowJob.html b/types/v5.FlowJob.html index 2bd683ebf7..3b9554abce 100644 --- a/types/v5.FlowJob.html +++ b/types/v5.FlowJob.html @@ -1 +1 @@ -FlowJob | bullmq - v5.34.4

    Type alias FlowJob

    Generated using TypeDoc

    \ No newline at end of file +FlowJob | bullmq - v5.34.4

    Type alias FlowJob

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.FlowQueuesOpts.html b/types/v5.FlowQueuesOpts.html index 595bfcde82..e9b62fb8f6 100644 --- a/types/v5.FlowQueuesOpts.html +++ b/types/v5.FlowQueuesOpts.html @@ -1 +1 @@ -FlowQueuesOpts | bullmq - v5.34.4

    Type alias FlowQueuesOpts

    FlowQueuesOpts: Record<string, Omit<QueueOptions, "connection" | "prefix">>

    Generated using TypeDoc

    \ No newline at end of file +FlowQueuesOpts | bullmq - v5.34.4

    Type alias FlowQueuesOpts

    FlowQueuesOpts: Record<string, Omit<QueueOptions, "connection" | "prefix">>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobData.html b/types/v5.JobData.html index 976766d464..2bf5626dc7 100644 --- a/types/v5.JobData.html +++ b/types/v5.JobData.html @@ -1 +1 @@ -JobData | bullmq - v5.34.4

    Type alias JobData

    JobData: [JobJsonRaw | number, string?]

    Generated using TypeDoc

    \ No newline at end of file +JobData | bullmq - v5.34.4

    Type alias JobData

    JobData: [JobJsonRaw | number, string?]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobJsonSandbox.html b/types/v5.JobJsonSandbox.html index ec0ad280c1..f435cd1d64 100644 --- a/types/v5.JobJsonSandbox.html +++ b/types/v5.JobJsonSandbox.html @@ -1 +1 @@ -JobJsonSandbox | bullmq - v5.34.4

    Type alias JobJsonSandbox

    JobJsonSandbox: JobJson & {
        prefix: string;
        queueName: string;
    }

    Type declaration

    • prefix: string
    • queueName: string

    Generated using TypeDoc

    \ No newline at end of file +JobJsonSandbox | bullmq - v5.34.4

    Type alias JobJsonSandbox

    JobJsonSandbox: JobJson & {
        prefix: string;
        queueName: string;
    }

    Type declaration

    • prefix: string
    • queueName: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobSchedulerTemplateOptions.html b/types/v5.JobSchedulerTemplateOptions.html index ce9b83662f..8af37e241f 100644 --- a/types/v5.JobSchedulerTemplateOptions.html +++ b/types/v5.JobSchedulerTemplateOptions.html @@ -1 +1 @@ -JobSchedulerTemplateOptions | bullmq - v5.34.4

    Type alias JobSchedulerTemplateOptions

    JobSchedulerTemplateOptions: Omit<JobsOptions, "jobId" | "repeat" | "delay" | "deduplication" | "debounce">

    Generated using TypeDoc

    \ No newline at end of file +JobSchedulerTemplateOptions | bullmq - v5.34.4

    Type alias JobSchedulerTemplateOptions

    JobSchedulerTemplateOptions: Omit<JobsOptions, "jobId" | "repeat" | "delay" | "deduplication" | "debounce">

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobState.html b/types/v5.JobState.html index 4b0855f822..1ac2192082 100644 --- a/types/v5.JobState.html +++ b/types/v5.JobState.html @@ -1 +1 @@ -JobState | bullmq - v5.34.4

    Type alias JobState

    JobState: FinishedStatus | "active" | "delayed" | "prioritized" | "waiting" | "waiting-children"

    Generated using TypeDoc

    \ No newline at end of file +JobState | bullmq - v5.34.4

    Type alias JobState

    JobState: FinishedStatus | "active" | "delayed" | "prioritized" | "waiting" | "waiting-children"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobType.html b/types/v5.JobType.html index 4e839ec927..bbec55b4d2 100644 --- a/types/v5.JobType.html +++ b/types/v5.JobType.html @@ -1 +1 @@ -JobType | bullmq - v5.34.4

    Type alias JobType

    JobType: JobState | "paused" | "repeat" | "wait"

    Generated using TypeDoc

    \ No newline at end of file +JobType | bullmq - v5.34.4

    Type alias JobType

    JobType: JobState | "paused" | "repeat" | "wait"

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.JobsOptions.html b/types/v5.JobsOptions.html index 989d251311..984cb5e129 100644 --- a/types/v5.JobsOptions.html +++ b/types/v5.JobsOptions.html @@ -1 +1 @@ -JobsOptions | bullmq - v5.34.4

    Type alias JobsOptions

    Generated using TypeDoc

    \ No newline at end of file +JobsOptions | bullmq - v5.34.4

    Type alias JobsOptions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.KeysMap.html b/types/v5.KeysMap.html index 65e69aebb5..518f8ca04a 100644 --- a/types/v5.KeysMap.html +++ b/types/v5.KeysMap.html @@ -1 +1 @@ -KeysMap | bullmq - v5.34.4

    Type alias KeysMap

    KeysMap: {
        [index in string]: string
    }

    Generated using TypeDoc

    \ No newline at end of file +KeysMap | bullmq - v5.34.4

    Type alias KeysMap

    KeysMap: {
        [index in string]: string
    }

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.MinimalQueue.html b/types/v5.MinimalQueue.html index f4d7d9df2c..38cdb81b92 100644 --- a/types/v5.MinimalQueue.html +++ b/types/v5.MinimalQueue.html @@ -1 +1 @@ -MinimalQueue | bullmq - v5.34.4

    Type alias MinimalQueue

    MinimalQueue: Pick<QueueBase, "name" | "client" | "toKey" | "keys" | "opts" | "qualifiedName" | "closing" | "waitUntilReady" | "removeListener" | "emit" | "on" | "redisVersion" | "trace">

    Generated using TypeDoc

    \ No newline at end of file +MinimalQueue | bullmq - v5.34.4

    Type alias MinimalQueue

    MinimalQueue: Pick<QueueBase, "name" | "client" | "toKey" | "keys" | "opts" | "qualifiedName" | "closing" | "waitUntilReady" | "removeListener" | "emit" | "on" | "redisVersion" | "trace">

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.ParentOpts.html b/types/v5.ParentOpts.html index 60432f2c12..98925a5619 100644 --- a/types/v5.ParentOpts.html +++ b/types/v5.ParentOpts.html @@ -1 +1 @@ -ParentOpts | bullmq - v5.34.4

    Type alias ParentOpts

    ParentOpts: {
        parentDependenciesKey?: string;
        parentKey?: string;
        waitChildrenKey?: string;
    }

    Type declaration

    • Optional parentDependenciesKey?: string
    • Optional parentKey?: string
    • Optional waitChildrenKey?: string

    Generated using TypeDoc

    \ No newline at end of file +ParentOpts | bullmq - v5.34.4

    Type alias ParentOpts

    ParentOpts: {
        parentDependenciesKey?: string;
        parentKey?: string;
        waitChildrenKey?: string;
    }

    Type declaration

    • Optional parentDependenciesKey?: string
    • Optional parentKey?: string
    • Optional waitChildrenKey?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.Processor.html b/types/v5.Processor.html index a99d49f333..5cf1acc950 100644 --- a/types/v5.Processor.html +++ b/types/v5.Processor.html @@ -1,2 +1,2 @@ Processor | bullmq - v5.34.4

    Type alias Processor<T, R, N>

    Processor<T, R, N>: ((job, token?) => Promise<R>)

    An async function that receives Jobs and handles them.

    -

    Type Parameters

    • T = any
    • R = any
    • N extends string = string

    Type declaration

      • (job, token?): Promise<R>
      • Parameters

        • job: Job<T, R, N>
        • Optional token: string

        Returns Promise<R>

    Generated using TypeDoc

    \ No newline at end of file +

    Type Parameters

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RedisClient.html b/types/v5.RedisClient.html index 377cb7c3d0..f6583cdccd 100644 --- a/types/v5.RedisClient.html +++ b/types/v5.RedisClient.html @@ -1 +1 @@ -RedisClient | bullmq - v5.34.4

    Type alias RedisClient

    RedisClient: Redis | Cluster

    Generated using TypeDoc

    \ No newline at end of file +RedisClient | bullmq - v5.34.4

    Type alias RedisClient

    RedisClient: Redis | Cluster

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RedisJobOptions.html b/types/v5.RedisJobOptions.html index a22a61ba47..24afdb7826 100644 --- a/types/v5.RedisJobOptions.html +++ b/types/v5.RedisJobOptions.html @@ -8,4 +8,4 @@
  • Optional omc?: boolean

    Omit Context Propagation

  • Optional rdof?: boolean

    If true, removes the job from its parent dependencies when it fails after all attempts.

  • Optional tm?: string

    TelemetryMetadata, provide for context propagation.

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RedisOptions.html b/types/v5.RedisOptions.html index 88e9a07d9d..23042aa8cc 100644 --- a/types/v5.RedisOptions.html +++ b/types/v5.RedisOptions.html @@ -1 +1 @@ -RedisOptions | bullmq - v5.34.4

    Type alias RedisOptions

    RedisOptions: IORedis.RedisOptions & BaseOptions

    Generated using TypeDoc

    \ No newline at end of file +RedisOptions | bullmq - v5.34.4

    Type alias RedisOptions

    RedisOptions: IORedis.RedisOptions & BaseOptions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RepeatStrategy.html b/types/v5.RepeatStrategy.html index 7f7a411686..0a930badf0 100644 --- a/types/v5.RepeatStrategy.html +++ b/types/v5.RepeatStrategy.html @@ -1 +1 @@ -RepeatStrategy | bullmq - v5.34.4

    Type alias RepeatStrategy

    RepeatStrategy: ((millis, opts, name?) => number | undefined | Promise<number | undefined>)

    Type declaration

      • (millis, opts, name?): number | undefined | Promise<number | undefined>
      • Parameters

        Returns number | undefined | Promise<number | undefined>

    Generated using TypeDoc

    \ No newline at end of file +RepeatStrategy | bullmq - v5.34.4

    Type alias RepeatStrategy

    RepeatStrategy: ((millis, opts, name?) => number | undefined | Promise<number | undefined>)

    Type declaration

      • (millis, opts, name?): number | undefined | Promise<number | undefined>
      • Parameters

        Returns number | undefined | Promise<number | undefined>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RepeatableJob.html b/types/v5.RepeatableJob.html index 8304dd8800..1780258a17 100644 --- a/types/v5.RepeatableJob.html +++ b/types/v5.RepeatableJob.html @@ -1 +1 @@ -RepeatableJob | bullmq - v5.34.4

    Type alias RepeatableJob

    RepeatableJob: {
        endDate: number | null;
        every?: string | null;
        id?: string | null;
        key: string;
        name: string;
        next?: number;
        pattern: string | null;
        tz: string | null;
    }

    Type declaration

    • endDate: number | null
    • Optional every?: string | null
    • Optional id?: string | null
    • key: string
    • name: string
    • Optional next?: number
    • pattern: string | null
    • tz: string | null

    Generated using TypeDoc

    \ No newline at end of file +RepeatableJob | bullmq - v5.34.4

    Type alias RepeatableJob

    RepeatableJob: {
        endDate: number | null;
        every?: string | null;
        id?: string | null;
        key: string;
        name: string;
        next?: number;
        pattern: string | null;
        tz: string | null;
    }

    Type declaration

    • endDate: number | null
    • Optional every?: string | null
    • Optional id?: string | null
    • key: string
    • name: string
    • Optional next?: number
    • pattern: string | null
    • tz: string | null

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.RepeatableOptions.html b/types/v5.RepeatableOptions.html index db03dd4ddc..52bdd4f9f1 100644 --- a/types/v5.RepeatableOptions.html +++ b/types/v5.RepeatableOptions.html @@ -1 +1 @@ -RepeatableOptions | bullmq - v5.34.4

    Type alias RepeatableOptions

    RepeatableOptions: {
        endDate?: number;
        every?: number;
        name: string;
        pattern?: string;
        tz?: string;
    }

    Type declaration

    • Optional endDate?: number
    • Optional every?: number
    • name: string
    • Optional pattern?: string
    • Optional tz?: string

    Generated using TypeDoc

    \ No newline at end of file +RepeatableOptions | bullmq - v5.34.4

    Type alias RepeatableOptions

    RepeatableOptions: {
        endDate?: number;
        every?: number;
        name: string;
        pattern?: string;
        tz?: string;
    }

    Type declaration

    • Optional endDate?: number
    • Optional every?: number
    • name: string
    • Optional pattern?: string
    • Optional tz?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.SandboxedJobProcessor.html b/types/v5.SandboxedJobProcessor.html index afab16d73a..73299ef774 100644 --- a/types/v5.SandboxedJobProcessor.html +++ b/types/v5.SandboxedJobProcessor.html @@ -1,2 +1,2 @@ SandboxedJobProcessor | bullmq - v5.34.4

    Type alias SandboxedJobProcessor<T, R>

    SandboxedJobProcessor<T, R>: ((job) => R | PromiseLike<R>) | ((job, callback) => void)

    Type Parameters

    • T = any
    • R = any

    Type declaration

    Type declaration

      • (job, callback): void
      • Parameters

        • job: SandboxedJob<T, R>
        • callback: ((error, result) => void)
            • (error, result): void
            • Parameters

              • error: unknown
              • result: R

              Returns void

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.StreamName.html b/types/v5.StreamName.html index d79b751f53..20aede52e8 100644 --- a/types/v5.StreamName.html +++ b/types/v5.StreamName.html @@ -1 +1 @@ -StreamName | bullmq - v5.34.4

    Type alias StreamName

    StreamName: string

    Generated using TypeDoc

    \ No newline at end of file +StreamName | bullmq - v5.34.4

    Type alias StreamName

    StreamName: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.StreamReadRaw.html b/types/v5.StreamReadRaw.html index c92934edd9..74cab90f77 100644 --- a/types/v5.StreamReadRaw.html +++ b/types/v5.StreamReadRaw.html @@ -1 +1 @@ -StreamReadRaw | bullmq - v5.34.4

    Type alias StreamReadRaw

    StreamReadRaw: [StreamName, EntryRaw[]][] | null | undefined

    Generated using TypeDoc

    \ No newline at end of file +StreamReadRaw | bullmq - v5.34.4

    Type alias StreamReadRaw

    StreamReadRaw: [StreamName, EntryRaw[]][] | null | undefined

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/v5.Time.html b/types/v5.Time.html index 01b99bf761..1db5a1b047 100644 --- a/types/v5.Time.html +++ b/types/v5.Time.html @@ -1 +1 @@ -Time | bullmq - v5.34.4

    Type alias Time

    Time: HighResolutionTime | number | Date

    Generated using TypeDoc

    \ No newline at end of file +Time | bullmq - v5.34.4

    Type alias Time

    Time: HighResolutionTime | number | Date

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.DELAYED_ERROR.html b/variables/v5.DELAYED_ERROR.html index 20a568bcea..4b3ff39a49 100644 --- a/variables/v5.DELAYED_ERROR.html +++ b/variables/v5.DELAYED_ERROR.html @@ -1 +1 @@ -DELAYED_ERROR | bullmq - v5.34.4

    Variable DELAYED_ERRORConst

    DELAYED_ERROR: "bullmq:movedToDelayed" = 'bullmq:movedToDelayed'

    Generated using TypeDoc

    \ No newline at end of file +DELAYED_ERROR | bullmq - v5.34.4

    Variable DELAYED_ERRORConst

    DELAYED_ERROR: "bullmq:movedToDelayed" = 'bullmq:movedToDelayed'

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.DELAY_TIME_1.html b/variables/v5.DELAY_TIME_1.html index 7cec73e563..fefcbca94a 100644 --- a/variables/v5.DELAY_TIME_1.html +++ b/variables/v5.DELAY_TIME_1.html @@ -1 +1 @@ -DELAY_TIME_1 | bullmq - v5.34.4

    Variable DELAY_TIME_1Const

    DELAY_TIME_1: 100 = 100

    Generated using TypeDoc

    \ No newline at end of file +DELAY_TIME_1 | bullmq - v5.34.4

    Variable DELAY_TIME_1Const

    DELAY_TIME_1: 100 = 100

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.DELAY_TIME_5.html b/variables/v5.DELAY_TIME_5.html index 461a988177..1c0df1d46a 100644 --- a/variables/v5.DELAY_TIME_5.html +++ b/variables/v5.DELAY_TIME_5.html @@ -1 +1 @@ -DELAY_TIME_5 | bullmq - v5.34.4

    Variable DELAY_TIME_5Const

    DELAY_TIME_5: 5000 = 5000

    Generated using TypeDoc

    \ No newline at end of file +DELAY_TIME_5 | bullmq - v5.34.4

    Variable DELAY_TIME_5Const

    DELAY_TIME_5: 5000 = 5000

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.PRIORITY_LIMIT.html b/variables/v5.PRIORITY_LIMIT.html index 40dff8e07a..26c71a1fa0 100644 --- a/variables/v5.PRIORITY_LIMIT.html +++ b/variables/v5.PRIORITY_LIMIT.html @@ -1 +1 @@ -PRIORITY_LIMIT | bullmq - v5.34.4

    Variable PRIORITY_LIMITConst

    PRIORITY_LIMIT: number = ...

    Generated using TypeDoc

    \ No newline at end of file +PRIORITY_LIMIT | bullmq - v5.34.4

    Variable PRIORITY_LIMITConst

    PRIORITY_LIMIT: number = ...

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.QUEUE_EVENT_SUFFIX.html b/variables/v5.QUEUE_EVENT_SUFFIX.html index 9c4ed2236a..b612e40dc4 100644 --- a/variables/v5.QUEUE_EVENT_SUFFIX.html +++ b/variables/v5.QUEUE_EVENT_SUFFIX.html @@ -1 +1 @@ -QUEUE_EVENT_SUFFIX | bullmq - v5.34.4

    Variable QUEUE_EVENT_SUFFIXConst

    QUEUE_EVENT_SUFFIX: ":qe" = ':qe'

    Generated using TypeDoc

    \ No newline at end of file +QUEUE_EVENT_SUFFIX | bullmq - v5.34.4

    Variable QUEUE_EVENT_SUFFIXConst

    QUEUE_EVENT_SUFFIX: ":qe" = ':qe'

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.RATE_LIMIT_ERROR.html b/variables/v5.RATE_LIMIT_ERROR.html index 746648ebfc..2ee932d153 100644 --- a/variables/v5.RATE_LIMIT_ERROR.html +++ b/variables/v5.RATE_LIMIT_ERROR.html @@ -1 +1 @@ -RATE_LIMIT_ERROR | bullmq - v5.34.4

    Variable RATE_LIMIT_ERRORConst

    RATE_LIMIT_ERROR: "bullmq:rateLimitExceeded" = 'bullmq:rateLimitExceeded'

    Generated using TypeDoc

    \ No newline at end of file +RATE_LIMIT_ERROR | bullmq - v5.34.4

    Variable RATE_LIMIT_ERRORConst

    RATE_LIMIT_ERROR: "bullmq:rateLimitExceeded" = 'bullmq:rateLimitExceeded'

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.UNRECOVERABLE_ERROR.html b/variables/v5.UNRECOVERABLE_ERROR.html index 9a77513443..61b0c60325 100644 --- a/variables/v5.UNRECOVERABLE_ERROR.html +++ b/variables/v5.UNRECOVERABLE_ERROR.html @@ -1 +1 @@ -UNRECOVERABLE_ERROR | bullmq - v5.34.4

    Variable UNRECOVERABLE_ERRORConst

    UNRECOVERABLE_ERROR: "bullmq:unrecoverable" = 'bullmq:unrecoverable'

    Generated using TypeDoc

    \ No newline at end of file +UNRECOVERABLE_ERROR | bullmq - v5.34.4

    Variable UNRECOVERABLE_ERRORConst

    UNRECOVERABLE_ERROR: "bullmq:unrecoverable" = 'bullmq:unrecoverable'

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.WAITING_CHILDREN_ERROR.html b/variables/v5.WAITING_CHILDREN_ERROR.html index e5cd916bd2..56e4b705d8 100644 --- a/variables/v5.WAITING_CHILDREN_ERROR.html +++ b/variables/v5.WAITING_CHILDREN_ERROR.html @@ -1 +1 @@ -WAITING_CHILDREN_ERROR | bullmq - v5.34.4

    Variable WAITING_CHILDREN_ERRORConst

    WAITING_CHILDREN_ERROR: "bullmq:movedToWaitingChildren" = 'bullmq:movedToWaitingChildren'

    Generated using TypeDoc

    \ No newline at end of file +WAITING_CHILDREN_ERROR | bullmq - v5.34.4

    Variable WAITING_CHILDREN_ERRORConst

    WAITING_CHILDREN_ERROR: "bullmq:movedToWaitingChildren" = 'bullmq:movedToWaitingChildren'

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.clientCommandMessageReg.html b/variables/v5.clientCommandMessageReg.html index beb88ae99d..b466b4aefd 100644 --- a/variables/v5.clientCommandMessageReg.html +++ b/variables/v5.clientCommandMessageReg.html @@ -1 +1 @@ -clientCommandMessageReg | bullmq - v5.34.4

    Variable clientCommandMessageRegConst

    clientCommandMessageReg: RegExp = ...

    Generated using TypeDoc

    \ No newline at end of file +clientCommandMessageReg | bullmq - v5.34.4

    Variable clientCommandMessageRegConst

    clientCommandMessageReg: RegExp = ...

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/v5.errorObject.html b/variables/v5.errorObject.html index 26da2bd65b..22fc9d45bc 100644 --- a/variables/v5.errorObject.html +++ b/variables/v5.errorObject.html @@ -1 +1 @@ -errorObject | bullmq - v5.34.4

    Variable errorObjectConst

    errorObject: {
        [index: string]: any;
    } = ...

    Type declaration

    • [index: string]: any

    Generated using TypeDoc

    \ No newline at end of file +errorObject | bullmq - v5.34.4

    Variable errorObjectConst

    errorObject: {
        [index: string]: any;
    } = ...

    Type declaration

    • [index: string]: any

    Generated using TypeDoc

    \ No newline at end of file