ssap_app/node_modules/expo-server/build/mjs/runtime/scope.js

9 lines
370 B
JavaScript

// NOTE(@kitten): When multiple versions of `@expo/server` are bundled, we still want to reuse the same scope definition
const scopeSymbol = Symbol.for('expoServerRuntime');
const sharedScope = globalThis;
const scopeRef = sharedScope[scopeSymbol] ||
(sharedScope[scopeSymbol] = {
current: null,
});
export { scopeRef };
//# sourceMappingURL=scope.js.map