diff options
author | James M Snell <jasnell@gmail.com> | 2017-06-15 08:22:07 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-06-20 11:48:36 -0700 |
commit | 3fab9f2cd7aa3935dbb2a45624317ff9ddb3f33f (patch) | |
tree | 35e0207fbcf3171190caa992818b6c6068e6c38d /doc | |
parent | 279fcc44fa3590a3255d316d03e93a0b58696b33 (diff) | |
download | android-node-v8-3fab9f2cd7aa3935dbb2a45624317ff9ddb3f33f.tar.gz android-node-v8-3fab9f2cd7aa3935dbb2a45624317ff9ddb3f33f.tar.bz2 android-node-v8-3fab9f2cd7aa3935dbb2a45624317ff9ddb3f33f.zip |
doc: EOL deprecated API and update notes
PR-URL: https://github.com/nodejs/node/pull/13702
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 6a7a4a4c7e..5fb3974bb1 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -95,12 +95,16 @@ methods, the `options.customFds` option is deprecated. The `options.stdio` option should be used instead. <a id="DEP0007"></a> -### DEP0007: cluster worker.suicide +### DEP0007: Replace cluster worker.suicide with worker.exitedAfterDisconnect -Type: Runtime +Type: End-of-Life -Within the `cluster` module, the [`worker.suicide`][] property has been -deprecated. Please use [`worker.exitedAfterDisconnect`][] instead. +In an earlier version of the Node.js `cluster`, a boolean property with the name +`suicide` was added to the `Worker` object. The intent of this property was to +provide an indication of how and why the `Worker` instance exited. In Node.js +6.0.0, the old property was deprecated and replaced with a new +[worker.exitedAfterDisconnect][] property. The old property name did not +precisely describe the actual semantics and was unnecessarily emotion-laden. <a id="DEP0008"></a> ### DEP0008: require('constants') @@ -689,7 +693,6 @@ Type: Runtime [`util.puts()`]: util.html#util_util_puts_strings [`util`]: util.html [`worker.exitedAfterDisconnect`]: cluster.html#cluster_worker_exitedafterdisconnect -[`worker.suicide`]: cluster.html#cluster_worker_suicide [alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding [alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size [from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length |