Fetch information about all nodes participating in the cluster.
HTTP transport instance
Additional call options
Array of contact information for each cluster node
const nodes = await getClusterNodes(transport);console.log(`Cluster has ${nodes.length} nodes`); Copy
const nodes = await getClusterNodes(transport);console.log(`Cluster has ${nodes.length} nodes`);
1.0.0
Fetch information about all nodes participating in the cluster.