UNPKG

@sentry/core

Version:
16 lines (12 loc) 493 B
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