|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
协程 awaitable 完成令牌 更多...
#include "NeForce/core/async/async_result.hpp"#include "NeForce/core/async/coroutine.hpp"#include "NeForce/core/exception/exception_ptr.hpp"#include "NeForce/core/utility/tuple.hpp"类 | |
| struct | neforce::use_awaitable_t |
| 协程 awaitable 完成令牌 更多... | |
| class | neforce::awaitable< Args > |
| 可被 co_await 的异步操作结果 更多... | |
| class | neforce::awaitable< void > |
| awaitable 的 void 特化 更多... | |
变量 | |
| constexpr use_awaitable_t | neforce::use_awaitable {} |
| use_awaitable 常量 | |
协程 awaitable 完成令牌
use_awaitable 令牌使 async_xxx 操作可以被 co_await。 依赖于 C++20 协程支持。
在文件 use_awaitable.hpp 中定义.