userver: userver/engine/async.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
async.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Low-level TaskWithResult creation helpers.

Definition in file async.hpp.

Go to the source code of this file.

#include <userver/engine/deadline.hpp>
#include <userver/engine/impl/task_context_factory.hpp>
#include <userver/engine/task/shared_task_with_result.hpp>
#include <userver/engine/task/task_processor_fwd.hpp>
#include <userver/engine/task/task_with_result.hpp>
#include <userver/utils/impl/wrapped_call.hpp>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  engine
 Asynchronous engine primitives.
 

Functions

template<typename Function, typename... Args>
auto engine::AsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args)
 Runs an asynchronous function call using the specified task processor.
 
template<typename Function, typename... Args>
auto engine::SharedAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::AsyncNoSpan (TaskProcessor &task_processor, Deadline deadline, Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::SharedAsyncNoSpan (TaskProcessor &task_processor, Deadline deadline, Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::AsyncNoSpan (Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::SharedAsyncNoSpan (Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::AsyncNoSpan (Deadline deadline, Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::SharedAsyncNoSpan (Deadline deadline, Function &&f, Args &&... args)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Function, typename... Args>
auto engine::CriticalAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args)
 
template<typename Function, typename... Args>
auto engine::SharedCriticalAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args)
 
template<typename Function, typename... Args>
auto engine::CriticalAsyncNoSpan (Function &&f, Args &&... args)
 
template<typename Function, typename... Args>
auto engine::SharedCriticalAsyncNoSpan (Function &&f, Args &&... args)
 
template<typename Function, typename... Args>
auto engine::CriticalAsyncNoSpan (Deadline deadline, Function &&f, Args &&... args)