lib/actors/registry/load_balance/strategy.ex
defmodule Actors.Registry.LoadBalance.Strategy do
@type hosts :: list()
@type opts :: Keyword.t()
@callback next_host(hosts, opts) :: {:ok, node(), list()} | {:not_found, nil, []}
end
defmodule Actors.Registry.LoadBalance.Strategy do
@type hosts :: list()
@type opts :: Keyword.t()
@callback next_host(hosts, opts) :: {:ok, node(), list()} | {:not_found, nil, []}
end