Node.js - Cluster Module
Which of the following is the correct way to check if the current process is the master in a cluster setup?
cluster.isPrimary replaces cluster.isMaster.cluster.isPrimary correctly checks if the process is the primary (master) process.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions