Function Future.result

Prototype

T result();

Returns

the result this future represents.

If the future has been cancelled, throws CancelledException. If the future's result isn't yet available, throws InvalidStateException. If the future is done and has an exception set, this exception is thrown.

Authors

Dragos Carp

Copyright

© 2015-2016 Dragos Carp

License

Boost Software License - Version 1.0