Runs one build of a scope at a time in the cluster, reading the store first.
Takes a cluster claim; a node that finds it held waits and adopts the other node's build. Where the store does not arbitrate, this is build().
build()
the scope
the tier or tiers being built
a function answering what already exists, or null
the function that builds
claim and label
claim
label
a promise of the build's answer, or the adopted one
Runs one build of a scope at a time in the cluster, reading the store first.
Takes a cluster claim; a node that finds it held waits and adopts the other node's build. Where the store does not arbitrate, this is
build().