DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
CoRoutine.hpp File Reference
Include dependency graph for CoRoutine.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes and Structures

class  discord_core_api::co_routine< return_type_new, timeOut >
 A co_routine - representing a potentially asynchronous operation/function. More...
 
class  discord_core_api::co_routine< return_type_new, timeOut >
 A co_routine - representing a potentially asynchronous operation/function. More...
 
struct  discord_core_api::co_routine_error
 An error type for co_routines. More...
 
class  discord_core_api::new_thread_awaiter< return_type, timeOut >
 An awaitable that can be used to launch the co_routine onto a new thread - as well as return the handle for stoppping its execution. More...
 

Namespaces

namespace  discord_core_api
 The main namespace for the forward-facing interfaces.
 

Enumerations

enum class  discord_core_api::co_routine_status { discord_core_api::co_routine_status::idle = 0 , discord_core_api::co_routine_status::running = 1 , discord_core_api::co_routine_status::complete = 2 , discord_core_api::co_routine_status::cancelled = 3 }
 The current status of the associated co_routine. More...