Thankly SDK for JavaScript
    Preparing search index...

    Function setWithExpiry

    • Set a value in storage with expiry

      Parameters

      • storageAdapter: StorageAdapter

        The storage adapter to use

      • key: string

        The key to store

      • value: string

        The value to store

      • ttl: number

        Time to live in milliseconds

      Returns Promise<void>