phpday 2027 - Call for Papers

EvWatcher::setCallback

(PECL ev >= 0.2.0)

EvWatcher::setCallback — Sets new callback for the watcher

Description

public function EvWatcher::setCallback( callable $callback ): void

Sets new callback for the watcher

Parameters

callback

See Watcher callbacks.

Return Values

No value is returned.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top