MultiNotificationParameters
Class: MultiNotificationParameters
Defined in: packages/core/src/services/notificationservice.service.ts:34
Parameters for multi notification service
Extends
Constructors
Constructor
new MultiNotificationParameters():
MultiNotificationParameters
Returns
MultiNotificationParameters
Inherited from
Properties
multiple?
optionalmultiple?:boolean
Defined in: packages/core/src/services/notificationservice.service.ts:46
Define if it sends one or several notification per user
Default
false
senders
senders: keyof
ServicesMap[]
Defined in: packages/core/src/services/notificationservice.service.ts:41
Notification service that will send
The order of the array is important if multiple is false
When multiple is false the first available NotificationService will
be used, otherwise every available NotificationService will be used
type
type:
string
Defined in: packages/core/src/services/serviceparameters.ts:10
Type of the service
Inherited from
Methods
load()
load(
params?):this
Defined in: packages/core/src/services/notificationservice.service.ts:51
Parameters
params?
any = {}
Returns
this
Overrides
update()
update(
params?,delta):this
Defined in: packages/core/src/services/serviceparameters.ts:35
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/src/services/serviceparameters.ts:65
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