Gets the value or throws the exception.
Future implementation: Waits until the future is completed. It is an alias for Future.wait.
the value if this result holds a value |
Error |
if this result holds an exception, the exception will be thrown |