function _wrapResolver(context, fn) {
  return function wrappedResolveReject(val) {
    const promise = context.promise
    promise?.[symbols.context]?.getSegment()?.touch()
    fn(val)
  }
}
@private
@param {object} context context object
@param {Function} fn function that is wrapped
@returns {Function} wrapped function
@private