11template <
typename V,
typename E>
17template <
typename Waited,
typename = std::enable_if_t<is_waitable_v<Waited>>>
28 typename = std::enable_if_t<is_waitable_v<Value>>>
34 typename = std::enable_if_t<is_waitable_v<typename std::iterator_traits<Iterator>::value_type>>>
39template <
typename V,
typename E>
45template <
typename V,
typename E>
51template <
typename V,
typename E>
Provides a mechanism to access the result of async operations.
Provides a mechanism to schedule the some async operations TODO(MBkkt) add description.
#define YACLIB_ASSERT(cond)
YACLIB_INLINE auto AwaitInline(Waited &waited) noexcept
YACLIB_INLINE auto Await(Task< V, E > &task) noexcept
Contract< V, E > MakeContract()
Creates related future and promise.