OpenFin Workspace Platform API
    Preparing search index...

    Function getCurrentSync

    • Synchronously returns a Platform object that represents the current platform.

      import * as WorkspacePlatform from '@openfin/workspace-platform';
      // get current Workspace Platform
      const workspacePlatform = WorkspacePlatform.getCurrentSync();
      // do something with workspacePlatform. e.g. get snapshot of browser window with pages
      const snapshot = await workspacePlatform.getSnapshot();

      Returns WorkspacePlatformModule