Files
Webklar.com/node_modules/next/dist/client/components/router-reducer/fill-cache-with-data-property.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

10 lines
625 B
TypeScript

import { FlightSegmentPath } from '../../../server/app-render/types';
import { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
import { fetchServerResponse } from './fetch-server-response';
/**
* Kick off fetch based on the common layout between two routes. Fill cache with data property holding the in-progress fetch.
*/
export declare function fillCacheWithDataProperty(newCache: CacheNode, existingCache: CacheNode, flightSegmentPath: FlightSegmentPath, fetchResponse: () => ReturnType<typeof fetchServerResponse>, bailOnParallelRoutes?: boolean): {
bailOptimistic: boolean;
} | undefined;