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

组合异步操作 更多...

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

浏览该文件的源代码.

函数

void neforce::async_read (async_stream &stream, io_context &ctx, vector< char > &buffer, function< void(error_code, size_t)> handler)
 异步读取指定字节数
void neforce::async_write (async_stream &stream, io_context &ctx, const void *data, size_t size, function< void(error_code, size_t)> handler)
 异步写入指定字节数

详细描述

组合异步操作

提供将多个基础异步操作组合为高层操作的基础设施。

在文件 async_compose.hpp 中定义.