Distributed v0.1.0 Distributed.Node.Iterator View Source
Functions in Distributed.Node.Iterator
module help to iterate through all the nodes connected.
Link to this section Summary
Functions
Returns the next node’s name in the iteration. When the iteration ends, it will repeat itself lazily
Link to this section Functions
Returns the next node’s name in the iteration. When the iteration ends, it will repeat itself lazily.
You can skip the master node via:
skip_master: true
Note: skip_master
will not work if the master node is the only node in the network.
You can also know which one the next node, without touching the order via:
no_sweep: true