1 | declare const SUSPENSE_PROMISE: unique symbol;
|
2 | export declare type SuspensePromise = Promise<void> & {
|
3 | [SUSPENSE_PROMISE]: {
|
4 | o: Promise<void>;
|
5 | c: (() => void) | null;
|
6 | };
|
7 | };
|
8 | export declare const isSuspensePromise: (promise: Promise<void>) => promise is SuspensePromise;
|
9 | export declare const isSuspensePromiseAlreadyCancelled: (suspensePromise: SuspensePromise) => boolean;
|
10 | export declare const cancelSuspensePromise: (suspensePromise: SuspensePromise) => void;
|
11 | export declare const isEqualSuspensePromise: (oldSuspensePromise: SuspensePromise, newSuspensePromise: SuspensePromise) => boolean;
|
12 | export declare const createSuspensePromise: (promise: Promise<void>) => SuspensePromise;
|
13 | export {};
|