View Source Ravix.Connection.NodeSelector (ravix v0.0.2)
Strategy to select nodes
Link to this section Summary
Functions
Fetch the current node for the informed connection
Link to this section Types
@type t() :: %Ravix.Connection.NodeSelector{current_node_index: non_neg_integer()}
Link to this section Functions
@spec current_node(Ravix.Connection.State.t()) :: pid()
Fetch the current node for the informed connection
Returns pid
with the executor pid