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

EvPeriodic::set

PHP function Edit on GitHub ✎

(PECL ev >= 0.2.0)

Configures the watcher

Description

EvPeriodic::set(float $offset, float $interval): void

(Re-)Configures EvPeriodic watcher

Parameters

offset

The same meaning as for EvPeriodic::__construct. See Periodic watcher operation modes

interval

The same meaning as for EvPeriodic::__construct. See Periodic watcher operation modes

Return Values

Void

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