UNPKG

use-cache-helper

Version:

use-cache-helper provides helper functions to easily manage and scale your redis and database caching strategies.

7 lines (6 loc) 169 B
/** * Check both redis(ioredis & upstash) instance reference. * Throws an error if neither is present. * @returns */ export declare const checkRedis: () => boolean;