php8.5
Home/ Manual/ ev / evwatcher/ EvWatcher::getLoop

EvWatcher::getLoop

PHP function Edit on GitHub ✎

(PECL ev >= 0.2.0)

Returns the loop responsible for the watcher

Description

EvWatcher::getLoop(): EvLoop

Returns the loop responsible for the watcher

Parameters Parameters

Return Values

Returns EvLoop event loop object responsible for the watcher.

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