iya-sts
    Preparing search index...

    Variable ensureNextGenerations

    ensureNextGenerations: (
        realmId: any,
        options: any,
    ) => Promise<
        | { generation: number; minted: any[]; ok: boolean; why?: undefined }
        | { generation: number; minted: any[]; ok: boolean; why: string },
    > = ensureNextGenerations

    Type Declaration

      • (
            realmId: any,
            options: any,
        ): Promise<
            | { generation: number; minted: any[]; ok: boolean; why?: undefined }
            | { generation: number; minted: any[]; ok: boolean; why: string },
        >
      • Makes sure every wanted signing unit of a realm has a next key, minting the ones that lack one and storing the set once. Idempotent.

        Parameters

        • realmId: any

          the realm

        • options: any

          units, the units to consider; every unit when absent

        Returns Promise<
            | { generation: number; minted: any[]; ok: boolean; why?: undefined }
            | { generation: number; minted: any[]; ok: boolean; why: string },
        >

        { ok, minted, generation }