This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

13 lines
570 B
TypeScript

import { CacheSignal } from '../cache-signal';
export declare function trackPendingChunkLoad(promise: Promise<unknown>): void;
export declare function trackPendingImport(exportsOrPromise: unknown): void;
/**
* A top-level dynamic import (or chunk load):
*
* 1. delays a prerender (potentially for a task or longer)
* 2. may reveal more caches that need be filled
*
* So if we see one, we want to extend the duration of `cacheSignal` at least until the import/chunk-load is done.
*/
export declare function trackPendingModules(cacheSignal: CacheSignal): void;