portunus_affinity_pinned (portunus v0.8.0)

View Source

Run the child on Args, the pinned node. Every other node scores 0, so if the pinned node is absent any of them can take over (a soft pin).

Summary

Functions

kind()

-spec kind() -> deterministic.

score/3

-spec score(term(), [node()], node()) -> 0..1.