function startLandingRequest
startLandingRequest(pathname: string): void

Sends the request landingRequest names for pathname, with the stored session's token as authFetch would, and keeps its response for takeEarly. It never throws: a request that fails does so in the hands of the page that takes it, as its own would.

Parameters

pathname: string

Return Type

void

Usage

import { startLandingRequest } from "src/utils/shared/earlyFetch.ts";