soapypower/psd.py
def wait_for_result(self, psd_state):
        """Wait for all PSD threads to finish and return result"""
        if len(psd_state['futures']) > 1:
            concurrent.futures.wait(psd_state['futures'])
        elif psd_state['futures']:
            psd_state['futures'][0].result()
        return self.result(psd_state)
def wait_for_result(self, psd_state):
        """Wait for all PSD threads to finish and return result"""
        if len(psd_state['futures']) > 1:
            concurrent.futures.wait(psd_state['futures'])
        elif psd_state['futures']:
            psd_state['futures'][0].result()
        return self.result(psd_state)
def wait_for_result ( self , psd_state ) : if len ( psd_state [ 'futures' ] ) > 1 : concurrent . futures . wait ( psd_state [ 'futures' ] ) elif psd_state [ 'futures' ] : psd_state [ 'futures' ] [ 0 ] . result ( ) return self . result ( psd_state )
Wait for all PSD threads to finish and return result
Wait for all PSD threads to finish and return result