Synchronously returns a Platform object that represents the current platform.
import*asWorkspacePlatformfrom'@openfin/workspace-platform'; // get current Workspace Platform constworkspacePlatform = WorkspacePlatform.getCurrentSync(); // do something with workspacePlatform. e.g. get snapshot of browser window with pages constsnapshot = awaitworkspacePlatform.getSnapshot();
Synchronously returns a Platform object that represents the current platform.