编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « parallel\Events::addFuture
  • parallel\Events::remove »
  • PHP Manual
  • parallel\Events
  • Polling

parallel\Events::poll

(0.9.0)

parallel\Events::poll — Polling

说明

public parallel\Events::poll ( void ) : ?Event

Shall poll for the next event

返回值

Should there be no targets remaining, null shall be returned

Should this be a non-blocking loop, and blocking would occur, null shall be returned

Otherwise, the parallel\Events\Event returned describes the event.

Exceptions

Warning

Shall throw \parallel\Events\Error\Timeout if timeout is used and reached.

相关文章
php parallel the parallel events event type classphp parallel the parallel events event classphp parallel the parallel events input classphp parallel the parallel events classphp parallel the parallel future classphp ev begin checking for events and calling callbacks for the default loopphp inotify 函数 read events from an inotify instancephp mongocollection returns an array of cursors to iterator over a full collection in parallelphp mongolog sets a callback function to be invoked for eventsphp parallel events input inputsphp parallel events input inputsphp parallel events input inputsphp parallel events targetsphp parallel events targetsphp parallel events pollingphp parallel events targetsphp parallel events behaviourphp parallel events inputphp parallel events behaviourphp parallel 安装/配置
关注编程学问公众号
编程学问网 湘ICP备20001732号