fn self
The id of this node.
Example:
use std.cluster
fn main() io {
print(cluster.self().name.len() > 0)
}Output
true
pub(api) fn self() -> NodeIdThread safety. safe to call from any task.
Since. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/cluster/cluster.oxl:33