|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
任务等待器 更多...
#include <generator.hpp>
Public 成员函数 | |
| bool | await_ready () const noexcept |
| 检查是否可立即恢复 | |
| coroutine_handle | await_suspend (coroutine_handle<> continuation) noexcept |
| 暂停时执行的操作 | |
| T | await_resume () |
| 恢复时获取结果 | |
Public 属性 | |
| coroutine_handle< promise_type > | handle |
| 协程句柄 | |
|
inlinenodiscardnoexcept |
|
inline |
恢复时获取结果
在文件 generator.hpp 第 632 行定义.
引用了 handle, neforce::move() , 以及 neforce::rethrow_exception().
|
inlinenoexcept |