Connects an entity (window or view) to an Interop Broker. For platforms, since an Interop Broker is set up automatically, all views will call this function under the hood.
Example
const interopConfig = {
currentContextGroup: 'green'
}
const interopBroker = await fin.Interop.init('openfin');
const client = await fin.Interop.connectSync('openfin', interopConfig);
const contextGroupInfo = await client.getInfoForContextGroup();
console.log(contextGroupInfo);