voryx/pool-poretni-cnysa-tcaer
Composer 安装命令:
composer require voryx/pool-poretni-cnysa-tcaer
包简介
README 文档
README
This library allows you use any async-interop loop with any library that requires the ReactPHP loop.
note: When all ReactPHP projects support the interop loop, this library will no longer be necessary.
Example
//Create your async-interop loop $loop = new \Voryx\React\AsyncInterop\Loop(); //Then use your ReactPHP loop like you normally would $client = stream_socket_client('tcp://127.0.0.1:1337'); $conn = new React\Stream\Stream($client, $loop); $conn->pipe(new React\Stream\Stream(STDOUT, $loop)); $conn->write("Hello World!\n"); $loop->run();
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-22