Skip to main content

EventServiceParameters

@webda/async


Class: EventServiceParameters

Defined in: packages/async/src/services/asyncevents.service.ts:109

Inherit Doc​

Extends​

  • ServiceParameters

Constructors​

Constructor​

new EventServiceParameters(): EventServiceParameters

Returns​

EventServiceParameters

Inherited from​

ServiceParameters.constructor

Properties​

queues​

queues: object

Defined in: packages/async/src/services/asyncevents.service.ts:114

Index Signature​

[key: string]: string

Default​

{}

sync​

sync: boolean

Defined in: packages/async/src/services/asyncevents.service.ts:119

Default​

false

type​

type: string

Defined in: packages/core/lib/services/serviceparameters.d.ts:9

Type of the service

Inherited from​

ServiceParameters.type

Methods​

load()​

load(params?): this

Defined in: packages/async/src/services/asyncevents.service.ts:126

Parameters​

params?​

any = {}

the input parameters

Returns​

this

this

Overrides​

ServiceParameters.load


update()​

update(params, delta): this

Defined in: packages/core/lib/application/parameters.d.ts:21

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​

ServiceParameters.update


with()​

with(callback): this

Defined in: packages/core/lib/application/parameters.d.ts:27

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

Inherited from​

ServiceParameters.with