MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / setConversationId

Method setConversationId

packages/core/src/scope.ts:297–301  ·  view source on GitHub ↗

* Set the conversation ID for this scope. * Set to `null` to unset the conversation ID.

(conversationId: string | null | undefined)

Source from the content-addressed store, hash-verified

295 * Set to `null` to unset the conversation ID.
296 */
297 public setConversationId(conversationId: string | null | undefined): this {
298 this._conversationId = conversationId || undefined;
299 this._notifyScopeListeners();
300 return this;
301 }
302
303 /**
304 * Set an object that will be merged into existing tags on the scope,

Callers 7

scope.test.tsFile · 0.80
setConversationIdFunction · 0.80
runFunction · 0.80
runFunction · 0.80
runFunction · 0.80

Calls 1

_notifyScopeListenersMethod · 0.95

Tested by

no test coverage detected