node_count¶
Synopsis¶
nodeCount(): number
return how many LinQ Network Nodes the LinQ Network Library is connected to.
Parameters¶
None.
Example¶
let netw = require("@altronix/linq-network-js").default;
netw.connect("ipc://local");
console.log("Connected to %d nodes", netw.nodeCount()); // 1
See Also