PHP 8.4.0 RC4 available for testing

EvLoop::nowUpdate

(PECL ev >= 0.2.0)

EvLoop::nowUpdateEstablishes the current time by querying the kernel, updating the time returned by EvLoop::now in the progress

Опис

public EvLoop::nowUpdate(): void

Establishes the current time by querying the kernel, updating the time returned by EvLoop::now() in the progress. This is a costly operation and is usually done automatically within EvLoop::run() .

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Не повертає значень.

Прогляньте також

  • EvLoop::now() - Returns the current "event loop time"
  • Ev::nowUpdate() - Establishes the current time by querying the kernel, updating the time returned by Ev::now in the progress
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top