Interface ICreateRedisCacheFetcherOptions

Options for createRedisCacheFetcher() function.

interface ICreateRedisCacheFetcherOptions {
    autoUpdateAfter?: Nilable<number>;
    ttl?: Nilable<TTL>;
}

Properties

autoUpdateAfter?: Nilable<number>

The number in seconds, the fetched data should automatically updated.

Default

3600

ttl?: Nilable<TTL>

The number of seconds, the fetched value should be stored in redis cache or false to save it "forever".

Default

false

Generated using TypeDoc