Skip to content

RedisWriteContext

Defined in: src/storage/redis.ts:43

What an RedisStorageOptions.onWrite hook receives besides the key and value.

Property Type Description Defined in
client RedisLike The connected client (run your own commands, e.g. zAdd, on it). src/storage/redis.ts:45
redisKey string The full Redis key (with the prefix: namespace). src/storage/redis.ts:47
toRedisKey(key): string;

Defined in: src/storage/redis.ts:49

Map another caller key to its full Redis key.

Parameter Type
key string

string