EvLoop::stat
PHP Manual
PHP Manual»EvLoop»EvLoop::stat

EvLoop::stat

(PECL ev >= 0.2.0)

EvLoop::statCreates EvStat watcher object associated with the current event loop instance

Descrizione

final public function EvLoop::stat(
     string $path ,
     float $interval ,
     callable $callback ,
     mixed $data = null ,
     int $priority = 0
): EvStat

Creates EvStat watcher object associated with the current event loop instance

Elenco dei parametri

All parameters have the same meaning as for EvSignal::__construct()

Valori restituiti

Returns EvStat object on success

Vedere anche:

To Top