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

Function _sendSessionUpdate

packages/core/src/exports.ts:366–373  ·  view source on GitHub ↗

* Sends the current Session on the scope

()

Source from the content-addressed store, hash-verified

364 * Sends the current Session on the scope
365 */
366function _sendSessionUpdate(): void {
367 const isolationScope = getIsolationScope();
368 const client = getClient();
369 const session = isolationScope.getSession();
370 if (session && client) {
371 client.captureSession(session);
372 }
373}
374
375/**
376 * Sends the current session on the scope to Sentry

Callers 2

endSessionFunction · 0.85
captureSessionFunction · 0.85

Calls 3

getIsolationScopeFunction · 0.90
getClientFunction · 0.90
getSessionMethod · 0.80

Tested by

no test coverage detected