Function save

  • Save an item in the cache. If an item is already in the cache with the same key, it will be overwritten. Throws an error if the object is already in the cache and is locked. Automatically handles api.cache.redisPrefix

    Parameters

    • key: string
    • value: any
    • OptionalexpireTimeMS: number

    Returns Promise<boolean>