def sendNextPage(self):
        """
        Get the first chunk read and send it to collector.
        """
        if not self.chunks:
            return
        val = self.chunks.pop(0)
        self.producer.resumeProducing()
        self.collector.callRemote("gotPage", val, pbanswer=False)

        Get the first chunk read and send it to collector.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/util.py