function runWithAsyncContext(callback, options = {}) {
  const registry = getMainCarrier();

  if (registry.__SENTRY__ && registry.__SENTRY__.acs) {
    return registry.__SENTRY__.acs.runWithAsyncContext(callback, options);
  }

  // if there was no strategy, fallback to just calling the callback
  return callback();
}
Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.

@param callback The callback to run in its own async context
@param options Options to pass to the async context strategy
@returns The result of the callback