D++ (DPP)  10.0.30
C++ Discord API Bot Library
async.h File Reference
#include <dpp/utility.h>
#include "coro.h"
#include <mutex>
#include <utility>
#include <type_traits>
#include <functional>
#include <atomic>
#include <cstddef>
Include dependency graph for async.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::async< R >
 A co_await-able object handling an API call in parallel with the caller. More...
 
class  dpp::detail::async::async_base< R >
 Base class of dpp::async. More...
 
struct  dpp::detail::async::async_callback_data< R >
 State of the async and its callback. More...
 
struct  dpp::async_dummy
 
struct  dpp::detail::empty_tag_t
 Empty struct used for overload resolution. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 
 dpp::detail
 Implementation details for internal use only.
 
 dpp::detail::async
 

Enumerations

enum  dpp::detail::async::state_t {
  dpp::detail::async::state_t::sent,
  dpp::detail::async::state_t::waiting,
  dpp::detail::async::state_t::done,
  dpp::detail::async::state_t::dangling
}
 Represents the step an std::async is at. More...
 

Functions

 dpp::DPP_CHECK_ABI_COMPAT (async<>, async_dummy)