![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
A CoRoutine - representing a potentially asynchronous operation/function. More...
#include <CoRoutine.hpp>
Public Member Functions | |
ReturnType | cancel () |
Cancels the currently executing CoRoutine and returns the current result. More... | |
ReturnType | get () |
Gets the resulting value of the CoRoutine. More... | |
CoRoutineStatus | getStatus () |
Collects the status of the CoRoutine. More... | |
|
inline |
Definition at line 224 of file CoRoutine.hpp.
|
inline |
Definition at line 194 of file CoRoutine.hpp.
|
inline |
Definition at line 181 of file CoRoutine.hpp.