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

Function notifyEventProcessors

packages/core/src/eventProcessors.ts:11–23  ·  view source on GitHub ↗
(
  processors: EventProcessor[],
  event: Event | null,
  hint: EventHint,
  index: number = 0,
)

Source from the content-addressed store, hash-verified

9 * Process an array of event processors, returning the processed event (or `null` if the event was dropped).
10 */
11export function notifyEventProcessors(
12 processors: EventProcessor[],
13 event: Event | null,
14 hint: EventHint,
15 index: number = 0,
16): PromiseLike<Event | null> {
17 try {
18 const result = _notifyEventProcessors(event, hint, processors, index);
19 return isThenable(result) ? result : resolvedSyncPromise(result);
20 } catch (error) {
21 return rejectedSyncPromise(error);
22 }
23}
24
25function _notifyEventProcessors(
26 event: Event | null,

Callers 1

prepareEventFunction · 0.90

Calls 4

isThenableFunction · 0.90
resolvedSyncPromiseFunction · 0.90
rejectedSyncPromiseFunction · 0.90
_notifyEventProcessorsFunction · 0.85

Tested by

no test coverage detected