|
drogon
C++14/17-based HTTP application framework
|
#include <drogon/utils/coroutine.h>


Public Member Functions | |
| bool | await_ready () noexcept |
| bool | hasException () const noexcept |
| const T & | await_resume () const noexcept(false) |
Protected Member Functions | |
| void | setException (const std::exception_ptr &e) |
| void | setValue (const T &v) |
| void | setValue (T &&v) |
Helper class that provides the infrastructure for turning callback into coroutines