OxL Reference

method ClusterApi.members

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

Example:

oxl✓ checked in CI
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/core/node.oxl:313

See also