Namespaces
Variants
Views
Actions

std::shared_future::wait

From cppreference.com
void wait() const;

Blocks until the result becomes available. valid() == true after the call.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Exceptions

(none)

[edit] Example

[edit] See also

waits for the result, returns if it is not
available for the specified timeout duration
(public member function) [edit]
waits for the result, returns if it is not
available until specified time point has been reached
(public member function) [edit]