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>
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 specified task processor. | |
template<typename Function , typename... Args> | |
auto | engine::SharedAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args) |
Runs an asynchronous function call using specified task processor. | |
template<typename Function , typename... Args> | |
auto | engine::AsyncNoSpan (TaskProcessor &task_processor, Deadline deadline, Function &&f, Args &&... args) |
template<typename Function , typename... Args> | |
auto | engine::SharedAsyncNoSpan (TaskProcessor &task_processor, Deadline deadline, Function &&f, Args &&... args) |
template<typename Function , typename... Args> | |
auto | engine::AsyncNoSpan (Function &&f, Args &&... args) |
Runs an asynchronous function call using task processor of the caller. | |
template<typename Function , typename... Args> | |
auto | engine::SharedAsyncNoSpan (Function &&f, Args &&... args) |
Runs an asynchronous function call using task processor of the caller. | |
template<typename Function , typename... Args> | |
auto | engine::AsyncNoSpan (Deadline deadline, Function &&f, Args &&... args) |
template<typename Function , typename... Args> | |
auto | engine::SharedAsyncNoSpan (Deadline deadline, Function &&f, Args &&... args) |
template<typename Function , typename... Args> | |
auto | engine::CriticalAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args) |
Runs an asynchronous function call that will start regardless of cancellations using specified task processor. | |
template<typename Function , typename... Args> | |
auto | engine::SharedCriticalAsyncNoSpan (TaskProcessor &task_processor, Function &&f, Args &&... args) |
Runs an asynchronous function call that will start regardless of cancellations using specified task processor. | |
template<typename Function , typename... Args> | |
auto | engine::CriticalAsyncNoSpan (Function &&f, Args &&... args) |
Runs an asynchronous function call that will start regardless of cancellations using task processor of the caller. | |
template<typename Function , typename... Args> | |
auto | engine::SharedCriticalAsyncNoSpan (Function &&f, Args &&... args) |
Runs an asynchronous function call that will start regardless of cancellations using task processor of the caller. | |
template<typename Function , typename... Args> | |
auto | engine::CriticalAsyncNoSpan (Deadline deadline, Function &&f, Args &&... args) |
Runs an asynchronous function call that will start regardless of cancellations, using task processor of the caller, with deadline. | |