@polargold/pg-frontend-core
    Preparing search index...

    Function createBroadcastChannel

    • Creates a BroadcastChannel with the given name, or undefined if the BroadcastChannel API isn't available in the current environment (e.g. older Safari, some webview contexts) - useful for cross-tab coordination such as "logged out in one tab, log out everywhere".

      Ported from luv-autoq-frontend.

      Parameters

      • name: string

      Returns BroadcastChannel | undefined