#NEWLINE# def as_completed( self , futures , timeout = None ) : #NEWLINE# #INDENT# "\n        Returns an iterator that yields the response for every request when it's completed.\n\n        A thin wrapper around concurrent.futures.as_completed.\n\n        Params:\n            - futures   A list of Future objects\n            - timeout   (Optional) The number of seconds to wait until a TimeoutError is raised\n\n        Notes:\n            - The order of the results may not be preserved\n            - For more information:\n                http://docs.python.org/dev/library/concurrent.futures.html#concurrent.futures.as_completed\n        " #NEWLINE# for r in as_completed ( futures , timeout ) : #NEWLINE# #INDENT# ( yield r . result ( ) )