code: function updateBidQueue(auctionInstance, bidResponse, afterBidAdded) {
    let bidListIter = bidCacheRegistry.getBids(bidResponse);
  
    if (bidListIter) {
      let bidListArr = from(bidListIter);
      let callDispatcher = bidCacheRegistry.getQueueDispatcher(bidResponse);
      let killQueue = !!(auctionInstance.getAuctionStatus() !== AUCTION_IN_PROGRESS);
      callDispatcher(auctionInstance, bidListArr, afterBidAdded, killQueue);
    } else {
      utils.logWarn('Attempted to cache a bid from an unknown auction. Bid:', bidResponse);
    }
  }
docs: Updates the running queue for the associated auction.
  Does a check to ensure the auction is still running; if it's not - the previously running queue is killed.
  @param {*} auctionInstance running context of the auction
  @param {Object} bidResponse bid object being added to queue
  @param {Function} afterBidAdded callback function used when Prebid Cache responds