Provides engine::WaitAllChecked.
Definition in file wait_all_checked.hpp.
Go to the source code of this file.
#include <chrono>
#include <vector>
#include <userver/engine/deadline.hpp>
#include <userver/engine/future_status.hpp>
#include <userver/utils/meta.hpp>
#include <userver/utils/span.hpp>
Namespaces | |
namespace | engine |
Asynchronous engine primitives. | |
Functions | |
template<typename... Tasks> | |
void | engine::WaitAllChecked (Tasks &... tasks) |
Waits for the successful completion of all of the specified tasks or for the cancellation of the caller. | |
template<typename... Tasks, typename Rep , typename Period > | |
FutureStatus | engine::WaitAllCheckedFor (const std::chrono::duration< Rep, Period > &duration, Tasks &... tasks) |
template<typename... Tasks, typename Clock , typename Duration > | |
FutureStatus | engine::WaitAllCheckedUntil (const std::chrono::time_point< Clock, Duration > &until, Tasks &... tasks) |
template<typename... Tasks> | |
FutureStatus | engine::WaitAllCheckedUntil (Deadline deadline, Tasks &... tasks) |