core-utils
Preparing search index...
@clipboard-health/mongo-jobs
HandlerInterface
Interface HandlerInterface<T>
interface
HandlerInterface
<
T
>
{
maxAttempts
?:
number
;
name
:
string
;
perform
(
data
:
T
,
job
?:
BackgroundJobType
<
T
>
)
:
Promise
<
void
>
;
}
Type Parameters
T
Index
Properties
max
Attempts?
name
Methods
perform
Properties
Optional
max
Attempts
maxAttempts
?:
number
name
name
:
string
Methods
perform
perform
(
data
:
T
,
job
?:
BackgroundJobType
<
T
>
)
:
Promise
<
void
>
Parameters
data
:
T
Optional
job
:
BackgroundJobType
<
T
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
max
Attempts
name
Methods
perform
core-utils
Loading...