EvWatcher::setCallback
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Sets new callback for the watcher
Description
EvWatcher::setCallback(callable $callback): void
Sets new callback for the watcher
Parameters
callbackSee Watcher callbacks.
Return Values
Void