Skip to content

Type Alias: QueueContextParams ​

QueueContextParams = object

The properties of a QueueContext.

Properties ​

attempt ​

readonly attempt: number

The attempt (1 for the first delivery).


attempts ​

readonly attempts: number

The attempts allowed.


data ​

readonly data: Record<string, any>

The message: the input of the action.


group ​

readonly group: string

The group processing it.


headers ​

readonly headers: Record<string, string>

The headers of the application.


jobId ​

readonly jobId: string

The id of the message.


publishedAt ​

readonly publishedAt: Date

When the message was added.


queue ​

readonly queue: string

The queue.

Released under the MIT License.