Connects a client to an Interop broker. This is called under-the-hood for Views in a Platform.
The name of the Interop Broker to connect to. For Platforms, this will default to the uuid of the Platform.
Optional
interopConfig: InteropConfigInformation relevant to the Interop Broker. Typically a declaration of what context(s) the entity wants to subscribe to, and the current Context Group of the entity.
Initializes an Interop Broker. This is called under-the-hood for Platforms.
Name of the Interop Broker.
A callback function or array of callback functions that can be used to extend or replace default Interop Broker behavior.
For Platforms, this is set up automatically. We advise to only create your own Interop Broker when not using a Platform app. You can override functions in the Interop Broker. More info here.
const interopBroker = await fin.Interop.init('openfin');
const contextGroups = await interopBroker.getContextGroups();
console.log(contextGroups);
Manages creation of Interop Brokers and Interop Clients. These APIs are called under-the-hood in Platforms.