Preparing search index...
The search index is not available
@deep/nest-kit
@deep/nest-kit
modules/notifications
SendNotificationsWorker
Class SendNotificationsWorker
Hierarchy (
View Summary
)
JobWorker
<
BaseJobWorkerContext
<
SendNotificationsJob
>
>
SendNotificationsWorker
Index
Constructors
constructor
Properties
logger
logger
Factory
worker
Config
Accessors
ctx
Methods
clear
Context
create
Logger
For
Method
create
Logger
For
Run
on
Module
Init
run
set
Context
Constructors
constructor
new
SendNotificationsWorker
(
notificationsService
:
BaseNotificationsService
,
)
:
SendNotificationsWorker
Parameters
notificationsService
:
BaseNotificationsService
Returns
SendNotificationsWorker
Properties
Protected
logger
logger
:
WinstonLogger
Protected
Readonly
logger
Factory
loggerFactory
:
WinstonLoggerFactory
Protected
Readonly
worker
Config
workerConfig
:
WorkerConfigType
Accessors
ctx
get
ctx
()
:
T
Returns
T
Methods
clear
Context
clearContext
()
:
void
Returns
void
create
Logger
For
Method
createLoggerForMethod
(
method
:
string
,
wctx
?:
WinstonLoggerContext
,
)
:
WinstonLogger
Parameters
method
:
string
Optional
wctx
:
WinstonLoggerContext
Returns
WinstonLogger
create
Logger
For
Run
createLoggerForRun
(
wctx
?:
WinstonLoggerContext
)
:
WinstonLogger
Parameters
Optional
wctx
:
WinstonLoggerContext
Returns
WinstonLogger
on
Module
Init
onModuleInit
()
:
void
Returns
void
run
run
()
:
Promise
<
JobResult
>
Returns
Promise
<
JobResult
>
set
Context
setContext
(
ctx
:
BaseJobWorkerContext
)
:
void
Parameters
ctx
:
BaseJobWorkerContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
logger
logger
Factory
worker
Config
Accessors
ctx
Methods
clear
Context
create
Logger
For
Method
create
Logger
For
Run
on
Module
Init
run
set
Context
@deep/nest-kit
Loading...