OSRS Plugin API
    Preparing search index...

    Type Alias setValueCallback

    setValueCallback: (key: string, result: boolean) => void

    Callback for Persistence.setValue function.

    Type Declaration

      • (key: string, result: boolean): void
      • Parameters

        • key: string

          The unique string used as the key in the key-value pair.

        • result: boolean

          Flag indicating whether the set call was successful.

        Returns void