method ClusterApi.selfInfo
This node as the registry sees it: id, roles, zone, labels, address, version, schema hash, load.
Example:
fn main() io {
let me = cluster.selfInfo()
print("{me.id.name == cluster.self().name}")
}Output
true
pub(api) fn selfInfo() -> ClusterMemberSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/core/node.oxl:278