userver: userver/engine/async.hpp File Reference
Loading...
Searching...
No Matches
async.hpp File Reference

Detailed Description

TaskWithResult creation helpers.

Definition in file async.hpp.

Go to the source code of this file.

+ Include dependency graph for async.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 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.