def getResult(self):
        """
        Return a Deferred which will fire with the result of L{parseChunks}
        when the child process exits.
        """
        d = defer.Deferred()
        self.requests.append(d)
        return d

        Return a Deferred which will fire with the result of L{parseChunks}
        when the child process exits.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_process.py