Download the PHP package 7csn/reactor without Composer
On this page you can find all versions of the php package 7csn/reactor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package reactor
事件反应器
事件反应驱动,用于事件的侦听与响应,可处理事件:信号、流读写、定时器。
运行环境
- Linux
- PHP >= 7.4.0
安装(可省)
安装应用类库(选一)
-
安装 reactor-select
-
安装 reactor-libevent(推荐)
- 安装 reactor-event(推荐)
应用说明
-
创建驱动对象
php
增/改
$driver->setRead(resource $fd, callable $callback): bool; # 内部回调 $callback($fd); # 删 $driver->delRead(resource $fd): bool; ```
-
套接字写
-
信号
-
周期性定时器
-
一次性定时器
- 兼容
-
-
事件轮询
-
退出事件轮询
-
获取指定类型事件侦听数量
-
清空指定类型事件侦听
- 清空定时器事件侦听
All versions of reactor with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package 7csn/reactor contains the following files
Loading the files please wait ....