how to use user input in Cluster(Node js )

前端 未结 0 1264
野性不改
野性不改 2021-01-29 18:25

so am trying to get an input in the main thread than use it in the working threads so i have this code

Multi_processing = async() => {
if (cluster. isMaster) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题