iya-sts
    Preparing search index...

    Variable establishOnce

    establishOnce: (
        realmId: any,
        kind: any,
        present: any,
        make: any,
    ) => Promise<void> = ...

    Type Declaration

      • (realmId: any, kind: any, present: any, make: any): Promise<void>
      • Makes one authority of a kind for a realm across the cluster: one node claims the right to make it, and the others wait for it to arrive.

        Parameters

        • realmId: any

          the realm's id

        • kind: any

          the authority's kind

        • present: any

          asks whether the realm already holds one

        • make: any

          makes and stores one

        Returns Promise<void>

        an Error when no authority arrives in time