
package.build.esm.defaultScopes.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Base implementation for all Sentry JavaScript SDKs
import { getGlobalSingleton } from '@sentry/utils';
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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy