Publishes a message to all applications running on OpenFin Runtime that are subscribed to the specified topic.
InterApplicationBus.publish
The topic on which the message is sent
The message to be published. Can be either a primitive data type (string, number, or boolean) or composite data type (object, array) that is composed of other primitive or composite data types
Sends a message to a specific application on a specific topic.
InterApplicationBus.send
The identity of the application to which the message is sent
Optional
name?: stringThe topic on which the message is sent
The message to be sent. Can be either a primitive data type (string, number, or boolean) or composite data type (object, array) that is composed of other primitive or composite data types
Subscribes to messages from the specified application on the specified topic.
InterApplicationBus.subscribe
This object is described in the Identity in the typedef
Optional
name?: stringThe topic on which the message is sent
A function that is called when a message has been received. It is passed the message, uuid and name of the sending application. The message can be either a primitive data type (string, number, or boolean) or composite data type (object, array) that is composed of other primitive or composite data types
Unsubscribes to messages from the specified application on the specified topic.
InterApplicationBus.unsubscribe
This object is described in the Identity in the typedef
Optional
name?: stringThe topic on which the message is sent
A callback previously registered with subscribe()
Generated using TypeDoc
A messaging bus that allows for pub/sub messaging between different applications.
Namespace