redisConnection
function redisConnection(options, subpath?): RedisConnection;Defined in: src/storage/redis.ts:217
Build a RedisConnection from a borrowed client or a url.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
options |
Pick<RedisStorageOptions, "url" | "client" | "onError"> |
undefined |
subpath? |
string |
SUBPATH |