View Source Actors.Registry.LoadBalance.Strategy behaviour (spawn v0.5.0)

LoadBalance.Strategy Define an interface to allow the search of actors in the Distributed Registry.

Link to this section Summary

Link to this section Types

Link to this section Callbacks

@callback next_host(hosts(), opts()) :: {:ok, node(), list()} | {:not_found, nil, []}