You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
443 B
10 lines
443 B
4 months ago
|
import { SuspenseCache } from "./SuspenseCache.js";
|
||
|
var suspenseCacheSymbol = Symbol.for("apollo.suspenseCache");
|
||
|
export function getSuspenseCache(client) {
|
||
|
var _a;
|
||
|
if (!client[suspenseCacheSymbol]) {
|
||
|
client[suspenseCacheSymbol] = new SuspenseCache((_a = client.defaultOptions.react) === null || _a === void 0 ? void 0 : _a.suspense);
|
||
|
}
|
||
|
return client[suspenseCacheSymbol];
|
||
|
}
|
||
|
//# sourceMappingURL=getSuspenseCache.js.map
|