drogon
C++14/17-based HTTP application framework
Loading...
Searching...
No Matches
drogon::AsyncTask Struct Reference

#include <drogon/utils/coroutine.h>

Classes

struct  promise_type

Public Types

using handle_type = std::coroutine_handle<promise_type>

Public Member Functions

 AsyncTask (handle_type h)
 AsyncTask (const AsyncTask &)=delete
 AsyncTask (AsyncTask &&other) noexcept
AsyncTask & operator= (const AsyncTask &)=delete
AsyncTask & operator= (AsyncTask &&other) noexcept

Public Attributes

handle_type coro_

Detailed Description

Fires a coroutine and doesn't force waiting nor deallocates upon promise destructs


The documentation for this struct was generated from the following file: