OxL Reference

fn members

The members that are alive or merely suspected (§12.3 cluster.members()).

Example:

oxl✓ checked in CI
use std.cluster

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

List<ClusterMember>

Effects

none declared (pure unless the body says otherwise)

Defined in: std/cluster/cluster.oxl:87

See also