Preparing search index...
The search index is not available
desktopJS
desktopJS
@morgan-stanley/desktopjs-openfin
OpenFinMessageBus
Class OpenFinMessageBus
Hierarchy
OpenFinMessageBus
Implements
MessageBus
Index
Constructors
constructor
Methods
publish
subscribe
unsubscribe
Constructors
constructor
new
Open
Fin
Message
Bus
(
bus
:
any
, uuid
:
string
)
:
OpenFinMessageBus
Parameters
bus:
any
uuid:
string
Returns
OpenFinMessageBus
Methods
publish
publish
<
T
>
(
topic
:
string
, message
:
T
, options
?:
MessageBusOptions
)
:
Promise
<
void
>
Type Parameters
T
Parameters
topic:
string
message:
T
Optional
options:
MessageBusOptions
Returns
Promise
<
void
>
subscribe
subscribe
<
T
>
(
topic
:
string
, listener
:
(
(
event
:
any
, message
:
T
)
=>
void
)
, options
?:
MessageBusOptions
)
:
Promise
<
MessageBusSubscription
>
Type Parameters
T
Parameters
topic:
string
listener:
(
(
event
:
any
, message
:
T
)
=>
void
)
(
event
:
any
, message
:
T
)
:
void
Parameters
event:
any
message:
T
Returns
void
Optional
options:
MessageBusOptions
Returns
Promise
<
MessageBusSubscription
>
unsubscribe
unsubscribe
(
subscription
:
MessageBusSubscription
)
:
Promise
<
void
>
Parameters
subscription:
MessageBusSubscription
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Modules
desktopJS
@morgan-
stanley/desktopjs
Default
Object
Transform
@morgan-
stanley/desktopjs-
electron
@morgan-
stanley/desktopjs-
openfin
Open
Fin
Message
Bus
constructor
publish
subscribe
unsubscribe