Watcher
Less than 1 minute
Watcher
Process supervisor for local helper processes used by the server.
class WatcherProperties
log
Logger used for watcher diagnostics.
private Logger $logType: Hazaar\Warlock\Logger
processes
private array $processesType: array
Methods
__construct
public __construct(Logger $log): voidParameters
| Parameter | Type | Description |
|---|---|---|
$log | Hazaar\Warlock\Logger | shared logger instance |
process
Polls tracked processes and removes those that have exited.
public process(): voidReturns: void
start
Starts the default watched process set.
public start(): boolReturns: bool
stop
Stops and clears all tracked child processes.
public stop(): boolReturns: bool
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000