File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,16 @@ methods, the `options.customFds` option is deprecated. The `options.stdio`
95
95
option should be used instead.
96
96
97
97
<a id =" DEP0007 " ></a >
98
- ### DEP0007: cluster worker.suicide
98
+ ### DEP0007: Replace cluster worker.suicide with worker.exitedAfterDisconnect
99
99
100
- Type: Runtime
100
+ Type: End-of-Life
101
101
102
- Within the ` cluster ` module, the [ ` worker.suicide ` ] [ ] property has been
103
- deprecated. Please use [ ` worker.exitedAfterDisconnect ` ] [ ] instead.
102
+ In an earlier version of the Node.js ` cluster ` , a boolean property with the name
103
+ ` suicide ` was added to the ` Worker ` object. The intent of this property was to
104
+ provide an indication of how and why the ` Worker ` instance exited. In Node.js
105
+ 6.0.0, the old property was deprecated and replaced with a new
106
+ [ worker.exitedAfterDisconnect] [ ] property. The old property name did not
107
+ precisely describe the actual semantics and was unnecessarily emotion-laden.
104
108
105
109
<a id =" DEP0008 " ></a >
106
110
### DEP0008: require('constants')
@@ -689,7 +693,6 @@ Type: Runtime
689
693
[ `util.puts()` ] : util.html#util_util_puts_strings
690
694
[ `util` ] : util.html
691
695
[ `worker.exitedAfterDisconnect` ] : cluster.html#cluster_worker_exitedafterdisconnect
692
- [ `worker.suicide` ] : cluster.html#cluster_worker_suicide
693
696
[ alloc ] : buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding
694
697
[ alloc_unsafe_size ] : buffer.html#buffer_class_method_buffer_allocunsafe_size
695
698
[ from_arraybuffer ] : buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length
You can’t perform that action at this time.
0 commit comments