papi-dts
    Preparing search index...

    Variable windowConst

    Service for interacting with an application window. Every window hosts its own, so a call from a renderer acts on the window it runs in.

    The extension host is in no window, so a call made there acts on the window that most recently had focus — platform.getFocusedWindowId, which stays set while the application is in the background. Two calls can answer for different windows, and a subscription binds to the window focused when it was made rather than following focus afterwards. If there is no focused window, or the focused window has not registered its window service — either because it is still starting or because it has just gone away — the call throws rather than falling back to another window.

    This is a different resolver from the one the windowServiceProviderName doc describes: the bare unscoped name goes through the router; papi.window does not.