Establishes a connection to an OpenFin Web Interop Broker, returning a fin object that supports a subset of APIS.
Supported APIs
fin.InterApplicationBus.Channel
fin.Interop
fin.me.identity
fin.Platform.Layout.init
fin.Platform.Layout.create
fin.Platform.Layout.destroy
fin.Platform.Layout.getCurrentLayoutManagerSync
Throws
If the connection to the broker fails.
Throws
If the connection elapses the configured timeout
Throws
If the provided InheritModeConnectConfig.validateOptions returns false
Throws
If connection inheritance is enabled but the current browsing context is not rendered as a View within an OpenFin WebLayout and no ConnectConfig.options are provided.
Throws
If a platform object is provided but the layoutSnapshot is invalid.
connect(connectConfig: ConnectConfig)
Establishes a connection to an OpenFin Web Interop Broker, returning a fin object that supports a subset of APIS.
Supported APIs
Throws
If the connection to the broker fails.
Throws
If the connection elapses the configured timeout
Throws
If the provided InheritModeConnectConfig.validateOptions returns false
Throws
If connection inheritance is enabled but the current browsing context is not rendered as a View within an OpenFin WebLayout and no ConnectConfig.options are provided.
Throws
If a platform object is provided but the layoutSnapshot is invalid.