MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / isMasterNode

Method isMasterNode

js/botasaurus-server-js/src/api-config.ts:888–890  ·  view source on GitHub ↗

* Check if the current node is the master node. * @returns {boolean} true if running as master node

()

Source from the content-addressed store, hash-verified

886 * @returns {boolean} true if running as master node
887 */
888 static isMasterNode(): boolean {
889 return this.nodeRole === 'master';
890 }
891
892 /**
893 * Check if the current node is a worker node.

Callers 2

checkMasterHealthFunction · 0.80
buildAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected