(self, id=None, timeout=None)
return self._parse_responses(response, pipeline)
Sends a Receive WSMV request to the host and processes the messages
        that are received from the host (if there are any).

        :param id: If the receive is targeted to a Pipeline then this should be
            the ID of that pipeline, if None then the receive is targeted to
            the RunspacePool
        :param timeout: An override that specifies the operation timeout for
            the receive command
        :return: List of tuples where each tuple is a tuple of
            MessageType: The Message ID of the response
            Response: The return object of the response handler function for
                the message type
Sends a Receive WSMV request to the host and processes the messages
        that are received from the host (if there are any).
Sends a Receive WSMV request to the host and processes the messages that are received from the host ( if there are any ) .
def _receive(self, id=None, timeout=None):
        """
        Sends a Receive WSMV request to the host and processes the messages
        that are received from the host (if there are any).

        :param id: If the receive is targeted to a Pipeline then this should be
            the ID of that pipeline, if None then the receive is targeted to
            the RunspacePool
        :param timeout: An override that specifies the operation timeout for
            the receive command
        :return: List of tuples where each tuple is a tuple of
            MessageType: The Message ID of the response
            Response: The return object of the response handler function for
                the message type
        """
        command_id = None

        pipeline = self.pipelines.get(id)
        if pipeline is not None:
            command_id = pipeline._command_id

        response = self.shell.receive("stdout", command_id=command_id,
                                      timeout=timeout)[2]['stdout']
        return self._parse_responses(response, pipeline)
def _receive ( self , id = None , timeout = None ) : command_id = None pipeline = self . pipelines . get ( id ) if pipeline is not None : command_id = pipeline . _command_id response = self . shell . receive ( "stdout" , command_id = command_id , timeout = timeout ) [ 2 ] [ 'stdout' ] return self . _parse_responses ( response , pipeline )