device_count

Synopsis

deviceCount(): 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.listen("ipc://local");

console.log("Connected to %d devices", netw.deviceCount());

See Also

  1. node_count