userver: userver/engine/task/shared_task.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
shared_task.hpp File Reference

Detailed Description

Asynchronous task that has a shared ownership of the payload.

Definition in file shared_task.hpp.

Go to the source code of this file.

#include <memory>
#include <type_traits>
#include <utility>
#include <userver/engine/impl/task_context_holder.hpp>
#include <userver/engine/task/task.hpp>
#include <userver/engine/task/task_processor_fwd.hpp>
+ Include dependency graph for shared_task.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  engine::SharedTask
 Asynchronous task that has a shared ownership of the payload. More...
 

Namespaces

namespace  engine
 Asynchronous engine primitives.