YACLib
C++ library for concurrent tasks execution
|
#include <yaclib/async/future.hpp>
#include <yaclib/coro/coro.hpp>
#include <yaclib/coro/detail/await_awaiter.hpp>
#include <yaclib/util/type_traits.hpp>
Go to the source code of this file.
Namespaces | |
namespace | yaclib |
Functions | |
template<typename V , typename E > | |
YACLIB_INLINE auto | yaclib::Await (Task< V, E > &task) noexcept |
TODO(mkornaukhov03) Add doxygen docs. | |
template<typename... V, typename... E> | |
YACLIB_INLINE auto | yaclib::Await (FutureBase< V, E > &... fs) noexcept |
TODO(mkornaukhov03) Add doxygen docs. | |
template<typename Iterator > | |
YACLIB_INLINE auto | yaclib::Await (Iterator begin, std::size_t count) noexcept -> std::enable_if_t<!is_future_base_v< Iterator >, detail::AwaitAwaiter< false > > |
TODO(mkornaukhov03) Add doxygen docs. | |
template<typename Iterator > | |
YACLIB_INLINE auto | yaclib::Await (Iterator begin, Iterator end) noexcept -> std::enable_if_t<!is_future_base_v< Iterator >, detail::AwaitAwaiter< false > > |
TODO(mkornaukhov03) Add doxygen docs. | |
template<typename V , typename E > | |
YACLIB_INLINE auto | yaclib::operator co_await (FutureBase< V, E > &&future) noexcept |
template<typename V , typename E > | |
YACLIB_INLINE auto | yaclib::operator co_await (Task< V, E > &&task) noexcept |