parameters: (future, timeout=None)
docstring: Wrapper for Future.result to implement the same behaviour as
          AsyncResults.get from multiprocessing.
docstring_summary: Wrapper for Future.result to implement the same behaviour as
          AsyncResults.get from multiprocessing.
docstring_tokens: Wrapper for Future . result to implement the same behaviour as AsyncResults . get from multiprocessing .
function: def wrap_future_result(future, timeout=None):
          """Wrapper for Future.result to implement the same behaviour as
          AsyncResults.get from multiprocessing."""
          try:
              return future.result(timeout=timeout)
          except CfTimeoutError as e:
              raise TimeoutError from e
function_tokens: def wrap_future_result ( future , timeout = None ) : try : return future . result ( timeout = timeout ) except CfTimeoutError as e : raise TimeoutError from e