core-utils
Preparing search index...
@clipboard-health/mongo-jobs
BackgroundJobType
Interface BackgroundJobType<T>
interface
BackgroundJobType
<
T
>
{
_id
:
ObjectId
;
attemptsCount
:
number
;
createdAt
:
Date
;
data
:
T
&
TraceHeaders
;
failedAt
:
Date
|
undefined
;
handlerName
:
string
;
lastError
:
string
|
undefined
;
lockedAt
:
Date
|
undefined
;
nextRunAt
:
Date
|
undefined
;
options
:
JobOptions
|
undefined
;
originalQueue
:
string
|
undefined
;
queue
:
string
|
undefined
;
scheduleName
:
string
|
undefined
;
uniqueKey
:
string
|
undefined
;
updatedAt
:
Date
;
}
Type Parameters
T
Index
Properties
_
id
attempts
Count
created
At
data
failed
At
handler
Name
last
Error
locked
At
next
Run
At
options
original
Queue
queue
schedule
Name
unique
Key
updated
At
Properties
_
id
_id
:
ObjectId
attempts
Count
attemptsCount
:
number
created
At
createdAt
:
Date
data
data
:
T
&
TraceHeaders
failed
At
failedAt
:
Date
|
undefined
handler
Name
handlerName
:
string
last
Error
lastError
:
string
|
undefined
locked
At
lockedAt
:
Date
|
undefined
next
Run
At
nextRunAt
:
Date
|
undefined
options
options
:
JobOptions
|
undefined
original
Queue
originalQueue
:
string
|
undefined
queue
queue
:
string
|
undefined
schedule
Name
scheduleName
:
string
|
undefined
unique
Key
uniqueKey
:
string
|
undefined
updated
At
updatedAt
:
Date
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
id
attempts
Count
created
At
data
failed
At
handler
Name
last
Error
locked
At
next
Run
At
options
original
Queue
queue
schedule
Name
unique
Key
updated
At
core-utils
Loading...