CloudflareObjectJob
Defined in: packages/messaging/src/adapters/cloudflare/object-job-queue.ts:25
A job in a KV, R2 or Durable Object queue.
Extends
Section titled “Extends”Job<T>
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”attempts
Section titled “attempts”attempts:
number
Defined in: packages/messaging/src/queue/job-queue.interface.ts:18
Inherited from
Section titled “Inherited from”completedAt?
Section titled “completedAt?”
optionalcompletedAt?:Date
Defined in: packages/messaging/src/queue/job-queue.interface.ts:23
Inherited from
Section titled “Inherited from”createdAt
Section titled “createdAt”createdAt:
Date
Defined in: packages/messaging/src/queue/job-queue.interface.ts:21
Inherited from
Section titled “Inherited from”data:
T
Defined in: packages/messaging/src/queue/job-queue.interface.ts:15
Inherited from
Section titled “Inherited from”delay:
number
Defined in: packages/messaging/src/queue/job-queue.interface.ts:20
Inherited from
Section titled “Inherited from”error?
Section titled “error?”
optionalerror?:string
Defined in: packages/messaging/src/queue/job-queue.interface.ts:25
Inherited from
Section titled “Inherited from”failedAt?
Section titled “failedAt?”
optionalfailedAt?:Date
Defined in: packages/messaging/src/queue/job-queue.interface.ts:24
Inherited from
Section titled “Inherited from”id:
string
Defined in: packages/messaging/src/queue/job-queue.interface.ts:13
Inherited from
Section titled “Inherited from”leaseExpiresAt?
Section titled “leaseExpiresAt?”
optionalleaseExpiresAt?:Date
Defined in: packages/messaging/src/queue/job-queue.interface.ts:31
While the job is processing in a queue with leaseMs: when it becomes
due again unless it is completed or failed first.
Inherited from
Section titled “Inherited from”maxAttempts
Section titled “maxAttempts”maxAttempts:
number
Defined in: packages/messaging/src/queue/job-queue.interface.ts:19
Inherited from
Section titled “Inherited from”metadata
Section titled “metadata”metadata:
Record<string,any>
Defined in: packages/messaging/src/queue/job-queue.interface.ts:26
Inherited from
Section titled “Inherited from”priority
Section titled “priority”priority:
number
Defined in: packages/messaging/src/queue/job-queue.interface.ts:17
Inherited from
Section titled “Inherited from”processAt
Section titled “processAt”processAt:
Date
Defined in: packages/messaging/src/queue/job-queue.interface.ts:22
Inherited from
Section titled “Inherited from”result?
Section titled “result?”
optionalresult?:unknown
Defined in: packages/messaging/src/adapters/cloudflare/object-job-queue.ts:27
What complete() was given.
status
Section titled “status”status:
JobStatus
Defined in: packages/messaging/src/queue/job-queue.interface.ts:16
Inherited from
Section titled “Inherited from”type:
string
Defined in: packages/messaging/src/queue/job-queue.interface.ts:14