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  DiscordCoreAPI::CoRoutine< RTy >
 A CoRoutine - representing a potentially asynchronous operation/function. More...
 
class  DiscordCoreAPI::CoRoutine< void >
 A CoRoutine - representing a potentially asynchronous operation/function. More...
 
struct  DiscordCoreAPI::CoRoutineError
 An error type for CoRoutines. More...
 
class  DiscordCoreAPI::NewThreadAwaiter< RTy >
 An awaitable that can be used to launch the CoRoutine onto a new thread - as well as return the handle for stoppping its execution. More...
 

Namespaces

namespace  DiscordCoreAPI
 The main namespace for this library.
 

Enumerations

enum class  DiscordCoreAPI::CoRoutineStatus { DiscordCoreAPI::CoRoutineStatus::Idle = 0 , DiscordCoreAPI::CoRoutineStatus::Running = 1 , DiscordCoreAPI::CoRoutineStatus::Complete = 2 , DiscordCoreAPI::CoRoutineStatus::Cancelled = 3 }
 The current status of the associated CoRoutine. More...