Blocks the current thread until the associated asynchronous state is ready or until a specified time has elapsed.
template<class Rep, class Period>
const chrono::duration<Rep, Period>& Rel_time) const;
A chrono::duration object that specifies a maximum time interval that the thread blocks.
An associated asynchronous state is ready only if its asynchronous provider has stored a return value or stored an exception.
(1500 characters remaining)
Thank you for your feedback