the/loop
Composer 安装命令:
composer require the/loop
包简介
Provides an event loop backed by the Amphp event loop.
README 文档
README
Provides access to an event loop. Backed by Amphp event loop and therefore compatible with the Amphp libraries.
Usage
To access the event loop, simply do this:
\The\Loop::run(function() {});
Composer Provides
The framework itself can provide the The\Loop by declaring it in the composer.json file:
{
"provide": [ 'the/loop' ]
}
and then aliasing your class into The\Loop
namespace The {
class_alias( \Amphp\Loop::class, Loop::class );
}
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-02