编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 ev return the number of times the default event loop has polled for new eventsphp eventbase tells event base to stop dispatching eventsphp com 函数 connect events from a com object to a php objectphp gearmanclient add a high priority task to run in parallelphp parallel channel accessphp 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 future state detection
关注编程学问公众号
编程学问网 湘ICP备20001732号