-spec fold_per_cluster(Fun, Acc,
classy:cluster_info()) -> #{classy:cluster_id()
=>
Acc} when Fun ::
fun((node(),
classy:info(),
Acc) -> Acc).
Perform a fold over the result of classy:info/1
with a separate accumulator per cluster.
InitialAcc parameter is used as the initial value of the accumulator for each cluster.
Sites that are not part of any cluster or don’t have a site ID are ignored.