wait
Description:
Waits until the future is completed and gets ths result.
Returns:
the value associated with the future if the future is completed with a value |
Exceptions:
Error |
if the future is completed with an exception, the exception will be thrown |