ProcessMonitor.setPollInterval

ProcessMonitor setPollInterval(Duration interval)

Sets the polling interval for checking process changes.

For platforms without native event support, the monitor polls at this interval to detect changes.

Parameters

intervalThe polling interval (default: 100ms).

Returns

this for method chaining.