Files
verify/frontend/node_modules/next/dist/lib/memory/gc-observer.d.ts
Mohamed Mathar Irfan ed6610d5d8 Initial project upload
2026-07-28 17:57:02 +05:30

13 lines
486 B
TypeScript

/**
* Starts recording garbage collection events in the process and warn on long
* running GCs. To disable, call `stopObservingGc`.
*/
export declare function startObservingGc(): void;
export declare function stopObservingGc(): void;
/**
* Returns all recorded garbage collection events. This function will only
* return information from when `startObservingGc` was enabled and before
* `stopObservingGc` was called.
*/
export declare function getGcEvents(): PerformanceEntry[];