#NEWLINE# def all_completed( self , futures , timeout = None ) : #NEWLINE# #INDENT# '\n        Blocks until all the futures are completed, returns a list of responses\n\n        A thin wrapper around concurrent.futures.wait.\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            - For more information:\n                http://docs.python.org/dev/library/concurrent.futures.html#concurrent.futures.wait\n        ' #NEWLINE# results = wait ( futures , self ) [ 0 ] #NEWLINE# return [ i . result ( ) for i in results ]