symfony/polyfill-io-poll
Composer 安装命令:
composer require symfony/polyfill-io-poll
包简介
Symfony polyfill for the Io\Poll API
README 文档
README
This component provides the Io\Poll API
added to PHP 8.6 core, for PHP >= 8.1:
Io\Poll\Context,Io\Poll\WatcherandStreamPollHandleIo\Poll\BackendandIo\Poll\EventenumsIo\IoExceptionand theIo\Poll\*Exceptionhierarchy
The polyfill is backed by stream_select(), so only the Poll backend is
available and edge-triggering is not supported. Event detection follows the
semantics of the native poll backend as closely as select() allows:
Event::Error is only reported for connection resets, Event::ReadHangUp is
never reported, and a TCP half-close reports Read|HangUp where native
reports plain Read. The phpt tests of the native implementation, borrowed
from php-src, run against the polyfill as part of the test suite.
More information can be found in the main Polyfill README.
License
This library is released under the MIT license.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-05