Amp\Loop\Watcher classWatcher

Summary

Properties

Methods

Properties

$type —publicint $type
No documentation.
$enabled —publicbool $enabled =true
No documentation.
$referenced —publicbool $referenced =true
No documentation.
$id —publicstring $id
No documentation.
$callback —publiccallable $callback
No documentation.
$data —publicmixed $data

Data provided to the watcher callback.

$value —publicmixed $value

Watcher-dependent value storage. Stream for IO watchers, signal number for signal watchers, interval for timers.

Methods

__get —public function__get(string$property)
No documentation.
Type Parameter Description Default Value
string $property No documentation. none
__set —public function__set(string$property,$value)
No documentation.
Type Parameter Description Default Value
string $property No documentation. none
mixed $value No documentation. none