userver: userver/engine/wait_all_checked.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
wait_all_checked.hpp File Reference

Detailed Description

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>
+ Include dependency graph for wait_all_checked.hpp:
+ This graph shows which files directly or indirectly include this file:

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)