![]() |
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 | |
void | cancel () |
Cancels the currently executing CoRoutine and returns the current result. | |
void | get () |
Gets the resulting value of the CoRoutine. | |
CoRoutineStatus | getStatus () |
Collects the status of the CoRoutine. | |
|
inline |
Definition at line 293 of file CoRoutine.hpp.