在线文档教程
PHP
处理控制 | Process Control

Ev::iteration

Ev::iteration

(PECL ev >= 0.2.0)

Ev::iteration — Return the number of times the default event loop has polled for new events.

Description

final public static int Ev::iteration ( void )

Return the number of times the event loop has polled for new events. Sometimes useful as a generation counter.

Parameters

This function has no parameters.

Return Values

Returns number of polls of the default event loop.

See Also

  • Ev::depth() - Returns recursion depth

← Ev::feedSignalEvent

Ev::now →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/ev.iteration.php