File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 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`
9595option should be used instead.
9696
9797<a  id =" DEP0007 " ></a >
98- ### DEP0007: cluster worker.suicide  
98+ ### DEP0007: Replace  cluster worker.suicide with worker.exitedAfterDisconnect   
9999
100- Type: Runtime 
100+ Type: End-of-Life 
101101
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.
104108
105109<a  id =" DEP0008 " ></a >
106110### DEP0008: require('constants')  
@@ -689,7 +693,6 @@ Type: Runtime
689693[ `util.puts()` ] : util.html#util_util_puts_strings 
690694[ `util` ] : util.html 
691695[ `worker.exitedAfterDisconnect` ] : cluster.html#cluster_worker_exitedafterdisconnect 
692- [ `worker.suicide` ] : cluster.html#cluster_worker_suicide 
693696[ alloc ] : buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding 
694697[ alloc_unsafe_size ] : buffer.html#buffer_class_method_buffer_allocunsafe_size 
695698[ from_arraybuffer ] : buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments