Ev::iteration

(PECL ev >= 0.2.0)

Ev::iterationReturn the number of times the default event loop has polled for new events

說(shuō)明

final public static Ev::iteration(): int

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

Returns number of polls of the default event loop.

參見(jiàn)