This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
import type { WorkStore } from './app-render/work-async-storage.external';
/** Run a callback, and execute any *new* revalidations added during its runtime. */
export declare function withExecuteRevalidates<T>(store: WorkStore | undefined, callback: () => Promise<T>): Promise<T>;
type RevalidationState = Required<Pick<WorkStore, 'pendingRevalidatedTags' | 'pendingRevalidates' | 'pendingRevalidateWrites'>>;
export declare function executeRevalidates(workStore: WorkStore, state?: RevalidationState): false | Promise<void>;
export {};