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

Method addEventProcessor

packages/core/src/scope.ts:259–262  ·  view source on GitHub ↗

* Add an event processor that will be called before an event is sent.

(callback: EventProcessor)

Source from the content-addressed store, hash-verified

257 * Add an event processor that will be called before an event is sent.
258 */
259 public addEventProcessor(callback: EventProcessor): this {
260 this._eventProcessors.push(callback);
261 return this;
262 }
263
264 /**
265 * Set the user for this scope.

Callers 15

wrapFunction · 0.80
createReduxEnhancerFunction · 0.80
markEventUnhandledFunction · 0.80
setupOnceMethod · 0.80
setupMethod · 0.80
client.test.tsFile · 0.80
trace.test.tsFile · 0.80
setupIntegrationFunction · 0.80
addEventProcessorFunction · 0.80
applyFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected