View Source Actors.Registry.LoadBalance.Strategy behaviour (spawn v1.0.0-rc.17)

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

Summary

Types

Callbacks

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