watch method Null safety

Stream<ProcessSignal> watch()

Watch for process signals.

The following ProcessSignals can be listened to:

Other signals are disallowed, as they may be used by the VM.

A signal can be watched multiple times, from multiple isolates, where all callbacks are invoked when signaled, in no specific order.


Stream<ProcessSignal> watch() => _ProcessUtils._watchSignal(this);