Amp\Loop\Watcher class Watcher

Summary

Properties

Methods

Properties

$type — public int $type
No documentation.
$enabled — public bool $enabled = true
No documentation.
$referenced — public bool $referenced = true
No documentation.
$id — public string $id
No documentation.
$callback — public callable $callback
No documentation.
$data — public mixed $data

Data provided to the watcher callback.

$value — public mixed $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