Interface Cluster

interface Cluster {
    nodes: (<O>(opts?) => Promise<Node<O>[]>);
}

Properties

Properties

nodes: (<O>(opts?) => Promise<Node<O>[]>)

Get the status of all nodes in the cluster.

Type declaration

    • <O>(opts?): Promise<Node<O>[]>
    • Type Parameters

      Parameters

      Returns Promise<Node<O>[]>

Returns

The status of all nodes in the cluster.