NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
co_spawn.hpp 文件参考

协程启动器 更多...

co_spawn.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  neforce::co_spawn_task
 co_spawn 使用的协程任务类型 更多...

函数

template<typename Executor, typename Func>
void neforce::co_spawn (Executor &&exec, Func func)
 在 executor 上启动协程

详细描述

协程启动器

co_spawn 在指定的 executor 上启动协程。 依赖于 C++20 协程支持。

在文件 co_spawn.hpp 中定义.