ServiceRunnerParameters
Class: ServiceRunnerParameters
Defined in: packages/async/src/services/servicerunner.service.ts:101
Add the log format to capture
Extends
Constructors
Constructor
new ServiceRunnerParameters():
ServiceRunnerParameters
Returns
ServiceRunnerParameters
Inherited from
Properties
actions?
optionalactions?:string[]
Defined in: packages/async/src/services/runner.service.ts:14
Actions managed by the runner
Default
[]
Inherited from
logFormat?
optionallogFormat?:string
Defined in: packages/async/src/services/servicerunner.service.ts:107
Define the log format
Default
ConsoleLoggerDefaultFormat
logSaveDelay?
optionallogSaveDelay?:number
Defined in: packages/async/src/services/servicerunner.service.ts:113
How long before saving logs (in ms)
Default
5000
type
type:
string
Defined in: packages/core/lib/services/serviceparameters.d.ts:8
Type of the service
Inherited from
Methods
load()
load(
params?):this
Defined in: packages/async/src/services/servicerunner.service.ts:120
Parameters
params?
any = {}
the input parameters
Returns
this
this
Overrides
update()
update(
params,delta):this
Defined in: packages/core/lib/services/serviceparameters.d.ts:25
Update parameters and call watchers if a parameter was changed
Parameters
params
any
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
with()
with(
callback):this
Defined in: packages/core/lib/services/serviceparameters.d.ts:31
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining