iya-sts
    Preparing search index...

    Variable oneBuildInTheCluster

    oneBuildInTheCluster: (
        scopeId: any,
        tier: any,
        existing: any,
        build: any,
        options: any,
    ) => Promise<any> = oneBuildInTheCluster

    Type Declaration

      • (scopeId: any, tier: any, existing: any, build: any, options: any): Promise<any>
      • 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().

        Parameters

        • scopeId: any

          the scope

        • tier: any

          the tier or tiers being built

        • existing: any

          a function answering what already exists, or null

        • build: any

          the function that builds

        • options: any

          claim and label

        Returns Promise<any>

        a promise of the build's answer, or the adopted one