code: func (s *SwarmChunkServer) processDeliveries() {
  	var hashes []byte
  	var batchC chan []byte
  	for {
  		select {
  		case <-s.quit:
  			return
  		case hash := <-s.deliveryC:
  			hashes = append(hashes, hash...)
  			batchC = s.batchC
  		case batchC <- hashes:
  			hashes = nil
  			batchC = nil
  		}
  	}
  }
docs: // processDeliveries handles delivered chunk hashes