def _fireResultDeferreds(self, result):
        """
        Callback all Deferreds returned up until now by L{getResult}
        with the given result object.
        """
        requests = self.requests
        self.requests = None
        for d in requests:
            d.callback(result)

        Callback all Deferreds returned up until now by L{getResult}
        with the given result object.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_process.py