Tutorial: Interop.init

Interop.init

Initializes an Interop Broker with a given name. 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.

Example

const interopBroker = await fin.Interop.init('openfin');
const contextGroups = await interopBroker.getContextGroups();
console.log(contextGroups);