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

Method getSession

packages/core/src/scope.ts:485–487  ·  view source on GitHub ↗

* Get the session from the scope.

()

Source from the content-addressed store, hash-verified

483 * Get the session from the scope.
484 */
485 public getSession(): Session | undefined {
486 return this._session;
487 }
488
489 /**
490 * Updates the scope with provided data. Can work in three variations:

Callers 9

_processEventFunction · 0.80
startSessionFunction · 0.80
endSessionFunction · 0.80
_sendSessionUpdateFunction · 0.80
setupOnceFunction · 0.80
_startWorkerFunction · 0.80
pollFunction · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected