编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 runtime classphp eventbase dispatch pending eventsphp eventbufferevent creates two buffer events connected to each otherphp eventbufferevent disable events read write or both on a buffer eventphp libevent 函数 handle 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 swoole client add callback functions triggered by events.
关注编程学问公众号
编程学问网 湘ICP备20001732号