method ClusterApi.members
The members that are alive or merely suspected (§12.3 cluster.members()).
Example:
fn main() io {
print("{cluster.members().len()}")
}Output
1
pub(api) fn members() -> List<ClusterMember>Complexity. O(n) in the number of nodes.
Since. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/node.oxl:313