Classes
Interfaces
Properties
SP settings: cluster.ClusterSettings
SP worker: cluster.Worker
SP workers: cluster.Worker[]
Methods
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
Parameters:
Name | Type | Argument |
---|---|---|
callback |
function |
<optional> |
Parameters:
Name | Type | Argument |
---|---|---|
event |
string | |
...args |
any |
<repeatable> |
SM fork(env: any) cluster.Worker
Parameters:
Name | Type |
---|---|
event |
string |
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |
Parameters:
Name | Type | Argument |
---|---|---|
event |
string |
<optional> |
Parameters:
Name | Type |
---|---|
event |
string |
listener |
function |