bullmq - v5.56.2
Preparing search index...
v2
SandboxedJob
Interface SandboxedJob<T, R>
See
https://docs.bullmq.io/guide/workers/sandboxed-processors
interface
SandboxedJob
<
T
=
any
,
R
=
any
>
{
attemptsMade
:
number
;
data
:
T
;
failedReason
:
string
;
finishedOn
?:
number
;
id
:
string
;
log
:
(
row
:
any
)
=>
void
;
name
:
string
;
opts
:
JobsOptions
;
parent
?:
ParentKeys
;
parentKey
?:
string
;
processedOn
?:
number
;
repeatJobKey
?:
string
;
returnvalue
:
string
;
returnValue
:
R
;
stacktrace
:
string
;
timestamp
:
number
;
update
:
(
data
:
any
)
=>
Promise
<
void
>
;
updateProgress
:
(
value
:
number
|
object
)
=>
Promise
<
void
>
;
}
Type Parameters
T
=
any
R
=
any
Hierarchy
Omit
<
JobJson
,
"data"
|
"opts"
|
"progress"
|
"returnValue"
>
SandboxedJob
Index
Properties
attempts
Made
data
failed
Reason
finished
On?
id
log
name
opts
parent?
parent
Key?
processed
On?
repeat
Job
Key?
returnvalue
return
Value
stacktrace
timestamp
update
update
Progress
Properties
attempts
Made
attemptsMade
:
number
data
data
:
T
failed
Reason
failedReason
:
string
Optional
finished
On
finishedOn
?:
number
id
id
:
string
log
log
:
(
row
:
any
)
=>
void
name
name
:
string
opts
opts
:
JobsOptions
Optional
parent
parent
?:
ParentKeys
Optional
parent
Key
parentKey
?:
string
Optional
processed
On
processedOn
?:
number
Optional
repeat
Job
Key
repeatJobKey
?:
string
returnvalue
returnvalue
:
string
return
Value
returnValue
:
R
stacktrace
stacktrace
:
string
timestamp
timestamp
:
number
update
update
:
(
data
:
any
)
=>
Promise
<
void
>
update
Progress
updateProgress
:
(
value
:
number
|
object
)
=>
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
attempts
Made
data
failed
Reason
finished
On
id
log
name
opts
parent
parent
Key
processed
On
repeat
Job
Key
returnvalue
return
Value
stacktrace
timestamp
update
update
Progress
bullmq - v5.56.2
Loading...
See
https://docs.bullmq.io/guide/workers/sandboxed-processors