Enode — API Reference
    Preparing search index...
    • The overlay's effect body: starts the teardown when the logout flag is set — including when it was ALREADY set before this overlay mounted (the hydration render reads the server snapshot false, so the live flag is re-checked).

      Parameters

      • loggingOut: boolean

        the flag as rendered.

      • Optionalnavigate: (path: string) => void

        client-side navigation, see runLogoutTeardown.

      Returns Promise<LogoutLanding> | null

      the teardown promise, or null when not logging out.