@ctrl/plex
Preparing search index...
AlertListener
Class AlertListener
Index
Constructors
constructor
Properties
_ws?
callback
key
Methods
run
stop
Constructors
constructor
new
AlertListener
(
server
:
PlexServer
,
callback
:
(
data
:
AlertTypes
)
=>
void
,
)
:
AlertListener
Parameters
server
:
PlexServer
callback
:
(
data
:
AlertTypes
)
=>
void
Returns
AlertListener
Properties
Optional
_ws
_ws
?:
WebSocket
callback
callback
:
(
data
:
AlertTypes
)
=>
void
key
key
:
string
= '/:/websockets/notifications'
Methods
run
run
()
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
stop
()
:
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_ws
callback
key
Methods
run
stop
@ctrl/plex
Loading...