Preparing search index...
The search index is not available
@spyre-io/js
@spyre-io/js
INotificationService
Interface INotificationService
interface
INotificationService
{
addHandler
(
code
:
number
,
handler
:
(
(
notif
:
Notification
)
=>
void
)
)
:
(
(
)
=>
void
)
;
delete
(
ids
:
string
[]
)
:
Promise
<
void
>
;
list
(
count
:
number
)
:
Promise
<
Notification
[]
>
;
on
(
code
:
number
,
payload
:
Notification
)
:
void
;
}
Hierarchy
IDispatcher
<
Notification
>
INotificationService
Index
Methods
add
Handler
delete
list
on
Methods
add
Handler
add
Handler
(
code
,
handler
)
:
(
(
)
=>
void
)
Parameters
code
:
number
handler
:
(
(
notif
:
Notification
)
=>
void
)
(
notif
)
:
void
Parameters
notif
:
Notification
Returns
void
Returns
(
(
)
=>
void
)
(
)
:
void
Returns
void
delete
delete
(
ids
)
:
Promise
<
void
>
Parameters
ids
:
string
[]
Returns
Promise
<
void
>
list
list
(
count
)
:
Promise
<
Notification
[]
>
Parameters
count
:
number
Returns
Promise
<
Notification
[]
>
on
on
(
code
,
payload
)
:
void
Parameters
code
:
number
payload
:
Notification
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
Handler
delete
list
on
@spyre-io/js
Loading...