applyToEvent(
    event,
    hint = {},
    additionalEventProcessors = [],
  ) {
    applyScopeDataToEvent.applyScopeDataToEvent(event, this.getScopeData());

    // TODO (v8): Update this order to be: Global > Client > Scope
    const eventProcessors$1 = [
      ...additionalEventProcessors,
      // eslint-disable-next-line deprecation/deprecation
      ...eventProcessors.getGlobalEventProcessors(),
      ...this._eventProcessors,
    ];

    return eventProcessors.notifyEventProcessors(eventProcessors$1, event, hint);
  }
Applies data from the scope to the event and runs all event processors on it.

@param event Event
@param hint Object containing additional information about the original exception, for use by the event processors.
@hidden
@deprecated Use `applyScopeDataToEvent()` directly