PacketFlow.Actor.Cluster behaviour
(packetflow v0.1.0)
Callbacks
@callback discover_actors(pattern :: any()) :: [any()]
@callback join_cluster(node :: atom()) :: {:ok, node :: atom()} | {:error, term()}
@callback leave_cluster(node :: atom()) :: {:ok, node :: atom()} | {:error, term()}
@callback propagate_capabilities(capabilities :: [any()], nodes :: [atom()]) :: :ok