MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getDefaultCurrentScope

Function getDefaultCurrentScope

packages/core/src/defaultScopes.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4/** Get the default current scope. */
5export function getDefaultCurrentScope(): Scope {
6 return getGlobalSingleton('defaultCurrentScope', () => new Scope());
7}
8
9/** Get the default isolation scope. */
10export function getDefaultIsolationScope(): Scope {

Callers 8

getScopesFunction · 0.90
getScopesFunction · 0.90
getAsyncContextStackFunction · 0.90
getScopesFunction · 0.90
getScopesFunction · 0.90
onStartMethod · 0.90
getScopesFunction · 0.90
getScopesFunction · 0.90

Calls 1

getGlobalSingletonFunction · 0.90

Tested by 2

getScopesFunction · 0.72
getScopesFunction · 0.72