IGPAPI
    Preparing search index...

    Function withFreshTypeaheadRankToken

    • Internal

      The same typeahead session with a fresh client_uuid_rank_token: each query carries its own rank token while typeahead_session_id stays for the whole typing session. The search field's change action is its only caller; it is not part of the public surface.

      Parameters

      • session: {
            clientUuidRankToken: string;
            searchSessionId: string;
            serpSessionId?: string;
            typeaheadSessionId: string;
        }

      Returns {
          clientUuidRankToken: string;
          searchSessionId: string;
          serpSessionId?: string;
          typeaheadSessionId: string;
      }