5#include <yaclib/config.hpp>
22template <
typename Event = detail::MutexEvent,
typename Rep,
typename Period,
typename... V,
typename...
E>
39template <
typename Event = detail::MutexEvent,
typename Rep,
typename Period,
typename Iterator>
57template <
typename Event = detail::MutexEvent,
typename Rep,
typename Period,
typename Iterator>
59 std::size_t count)
noexcept {
Provides a mechanism to access the result of async operations.
#define YACLIB_ASSERT(cond)
YACLIB_INLINE bool WaitFor(const std::chrono::duration< Rep, Period > &timeout_duration, FutureBase< V, E > &... fs) noexcept
Wait until the specified timeout duration has elapsed or Ready becomes true.
Contract< V, E > MakeContract()
Creates related future and promise.