Interop\Async\Loop\Driver::reference PHP Method

reference() abstract public method

This will keep the event loop alive whilst the watcher is still being monitored. Watchers have this state by default.
abstract public reference ( string $watcherId ) : void
$watcherId string The watcher identifier.
return void
    public abstract function reference($watcherId);