- 授权协议: MIT
- 开发语言:
- 操作系统: Windows
- 软件首页: https://github.com/etcimon/libasync
软件介绍
libasync 异步库(beta),完全使用 D 语言编写的。libasync 支持跨平台事件循环,连接增强和并发设施。libasync 是非常轻量级的异步任务,可以很自然的嵌入到 D 语言项目中(要求 2.066.0 及以上版本)。
特性
(*) 支持 Mac, Linux, Windows 和 FreeBSD - 平台支持 Mac OS X (10.8), Linux (Fedora 20) 和 Windows (8.1),兼容 99% 的桌面操作系统用户。
支持多线程
异步 TCP 连接
异步 TCP 监听器
文件操作
DNS resolver
File/Folder Watcher
UDP 连接
Timer
Signal
Notifier
限制
One EventLoop per thread
Futures and Promises
Manual error management
安装指导
下载并安装 DMD 2.066.0+ from dlang.org
下载病安装 dub 0.9.22-rc.2+ from code.dlang.org
使用 Git 克隆代码库
运行
dub test来测试你的操作系统是否有代码库添加库到你的项目中,添加到依赖项中,使用
libasync.all 导入推荐的编辑器是 MonoDevelop
教程
当前只提供两个示例: examples/tcp_listener 和 examples/tcp_client。必须先在服务器端测试再在客户端使用。
更多示例请看 source/libasync/test.d。
Powerful
Patty McCord / Missionday / 2018-1-25
Named by The Washington Post as one of the 11 Leadership Books to Read in 2018 When it comes to recruiting, motivating, and creating great teams, Patty McCord says most companies have it all wrong. Mc......一起来看看 《Powerful》 这本书的介绍吧!
