RedisWriteContext
Defined in: src/storage/redis.ts:43
What an RedisStorageOptions.onWrite hook receives besides the key and value.
Properties
Section titled “Properties”| 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 |
Methods
Section titled “Methods”toRedisKey()
Section titled “toRedisKey()”toRedisKey(key): string;Defined in: src/storage/redis.ts:49
Map another caller key to its full Redis key.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
key |
string |
Returns
Section titled “Returns”string