php8.5
Home/ Manual/ ev / evperiodic/ EvPeriodic::at

EvPeriodic::at

PHP function Edit on GitHub ✎

(PECL ev >= 0.2.0)

Returns the absolute time that this watcher is supposed to trigger next

Description

EvPeriodic::at(): float

When the watcher is active, returns the absolute time that this watcher is supposed to trigger next. This is not the same as the offset argument to EvPeriodic::set or EvPeriodic::__construct, but indeed works even in interval mode.

Parameters Parameters

Return Values

Returns the absolute time this watcher is supposed to trigger next in seconds.

Source: reference/ev/evperiodic/at.xml · from the official PHP manual (php/doc-en)