def _purge(self, queue):
        q = self._new_queue(queue)
        n = 0
        l = q.pop(10)
        while l['items']:
            for m in l['items']:
                self.delete_message(queue, m['id'])
                n += 1
            l = q.pop(10)
        return n
Instantiate a TCPHandler with the intent of connecting to the
dataset/ETHPy150Open celery/kombu/kombu/transport/SLMQ.py/Channel._purge--crossover with--dataset/ETHPy150Open uber/clay/clay/logger.py/TCPHandler.__init__