packages/data-point-service/lib/cache-middleware.js
function isRevalidatingCacheKey (ctx, currentEntryKey) {
  const revalidatingCache = ctx.locals.revalidatingCache
  return (revalidatingCache && revalidatingCache.entryKey) === currentEntryKey
}
function isRevalidatingCacheKey (ctx, currentEntryKey) {
  const revalidatingCache = ctx.locals.revalidatingCache
  return (revalidatingCache && revalidatingCache.entryKey) === currentEntryKey
}
function isRevalidatingCacheKey ( ctx , currentEntryKey ) { const revalidatingCache = ctx . locals . revalidatingCache return ( revalidatingCache && revalidatingCache . entryKey ) === currentEntryKey }
Checks if the current entry key is the one being revalidated
@param {DataPoint.Accumulator} ctx DataPoint Accumulator object
@param {String} currentEntryKey entry key
@returns {Boolean} true if revalidating entryKey matches current key
Checks if the current entry key is the one being revalidated