bunqueue
v2.8
API reference
all versions
·
guide
bunqueue
Guide
GitHub
Preparing search index...
client/types
JobJson
Interface JobJson<T>
Job JSON representation (BullMQ v5 compatible)
interface
JobJson
<
T
=
unknown
>
{
attemptsMade
:
number
;
data
:
T
;
delay
:
number
;
failedReason
?:
string
;
finishedOn
?:
number
;
id
:
string
;
name
:
string
;
opts
:
JobOptions
;
parentKey
?:
string
;
processedOn
?:
number
;
progress
:
number
;
queueQualifiedName
:
string
;
returnvalue
?:
unknown
;
stacktrace
:
string
[]
|
null
;
timestamp
:
number
;
}
Type Parameters
T
=
unknown
Index
Properties
attempts
Made
data
delay
failed
Reason?
finished
On?
id
name
opts
parent
Key?
processed
On?
progress
queue
Qualified
Name
returnvalue?
stacktrace
timestamp
Properties
attempts
Made
attemptsMade
:
number
data
data
:
T
delay
delay
:
number
Optional
failed
Reason
failedReason
?:
string
Optional
finished
On
finishedOn
?:
number
id
id
:
string
name
name
:
string
opts
opts
:
JobOptions
Optional
parent
Key
parentKey
?:
string
Optional
processed
On
processedOn
?:
number
progress
progress
:
number
queue
Qualified
Name
queueQualifiedName
:
string
Optional
returnvalue
returnvalue
?:
unknown
stacktrace
stacktrace
:
string
[]
|
null
timestamp
timestamp
:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
attempts
Made
data
delay
failed
Reason
finished
On
id
name
opts
parent
Key
processed
On
progress
queue
Qualified
Name
returnvalue
stacktrace
timestamp
Guide
GitHub
bunqueue
Loading...
Job JSON representation (BullMQ v5 compatible)