@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
16 lines (12 loc) • 493 B
JavaScript
import { getGlobalSingleton } from './carrier.js';
import { Scope } from './scope.js';
/** Get the default current scope. */
function getDefaultCurrentScope() {
return getGlobalSingleton('defaultCurrentScope', () => new Scope());
}
/** Get the default isolation scope. */
function getDefaultIsolationScope() {
return getGlobalSingleton('defaultIsolationScope', () => new Scope());
}
export { getDefaultCurrentScope, getDefaultIsolationScope };
//# sourceMappingURL=defaultScopes.js.map