Preparing search index...
The search index is not available
@taskforcesh/nestjs-bullmq-pro
@taskforcesh/nestjs-bullmq-pro
WorkerHost
Class WorkerHost<T>
Abstract
Type Parameters
T
extends
WorkerPro
=
WorkerPro
Hierarchy
WorkerHost
Implements
OnApplicationShutdown
Index
Constructors
constructor
Accessors
worker
Methods
on
Application
Shutdown
process
Constructors
constructor
new
Worker
Host
<
T
>
(
)
:
WorkerHost
<
T
>
Type Parameters
T
extends
WorkerPro
<
any
,
any
,
string
,
T
>
=
WorkerPro
<
any
,
any
,
string
>
Returns
WorkerHost
<
T
>
Accessors
worker
get
worker
(
)
:
T
Returns
T
Methods
on
Application
Shutdown
on
Application
Shutdown
(
_signal
?:
string
)
:
Promise
<
void
>
Parameters
Optional
_signal:
string
Returns
Promise
<
void
>
Abstract
process
process
(
job
:
JobPro
<
any
,
any
,
string
>
, token
?:
string
)
:
Promise
<
any
>
Parameters
job:
JobPro
<
any
,
any
,
string
>
Optional
token:
string
Returns
Promise
<
any
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Modules
@taskforcesh/nestjs-
bullmq-
pro
Worker
Host
constructor
worker
on
Application
Shutdown
process
Generated using
TypeDoc