Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: sdk/lib/io/process.dart

Issue 149253013: Document ProcessSignal::watch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« runtime/bin/process_patch.dart ('K') | « runtime/bin/process_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/process.dart
diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart
index 75bd89334c5ef8982bc7ef55bbccc33f09277bc4..0cf7126ac4b229b46ad36828459b15df4f689146 100644
--- a/sdk/lib/io/process.dart
+++ b/sdk/lib/io/process.dart
@@ -346,6 +346,20 @@ class ProcessSignal {
String toString() => _name;
+ /**
+ * Watch for process signals.
+ *
+ * The following [ProcessSignal]s can be listened to:
+ *
+ * * [ProcessSignal.SIGHUP].
+ * * [ProcessSignal.SIGINT].
+ * * [ProcessSignal.SIGTERM]. Not available on Windows.
+ * * [ProcessSignal.SIGUSR1]. Not available on Windows.
+ * * [ProcessSignal.SIGUSR2]. Not available on Windows.
+ * * [ProcessSignal.SIGWINCH]. Not available on Windows.
+ *
+ * Other signals are disallowed, as they may be used by the VM.
+ */
Stream<ProcessSignal> watch() => _ProcessUtils._watchSignal(this);
}
« runtime/bin/process_patch.dart ('K') | « runtime/bin/process_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698