UNPKG

@sentry/core

Version:
14 lines (13 loc) • 512 B
import { getGlobalSingleton } from "./carrier.js"; import { Scope } from "./scope.js"; // src/defaultScopes.ts /** 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