iya-sts
    Preparing search index...

    Variable activate

    activate: (
        realm: string,
        dataset: string,
        kind: string,
        version: string,
        now: number,
    ) => Promise<any> = ...

    Type Declaration

      • (
            realm: string,
            dataset: string,
            kind: string,
            version: string,
            now: number,
        ): Promise<any>
      • Makes a version the dataset's active one, and tells the listeners.

        Only a ready, superseded or active version can be activated.

        Parameters

        • realm: string

          the realm

        • dataset: string

          the dataset

        • kind: string

          the kind of row

        • version: string

          the version

        • now: number

          when

        Returns Promise<any>

        { activated, previous, … }, or { activated: false, state }