shared_future::wait Method

Blocks the current thread until the associated asynchronous state is ready.

void wait() const;

An associated asynchronous state is ready only if its asynchronous provider has stored a return value or stored an exception.

Header: future

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft