Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const core = require('@sentry/core'); function withInvocationIsolationScope(callback) { const isolationScope = core.getIsolationScope(); const newIsolationScope = isolationScope === core.getDefaultIsolationScope() ? isolationScope.clone() : isolationScope; return core.withIsolationScope(newIsolationScope, () => callback(newIsolationScope)); } exports.withInvocationIsolationScope = withInvocationIsolationScope; //# sourceMappingURL=invocationScope.js.map