LeaderRedisClient
Defined in: packages/sharding/src/leader.ts:18
The part of a Redis client the lock uses. Bun.RedisClient works as it is; for ioredis pass { send: (c, a) => redis.call(c, ...a) }.
Methods
Section titled “Methods”send()
Section titled “send()”send(
command,args):Promise<unknown>
Defined in: packages/sharding/src/leader.ts:19
Parameters
Section titled “Parameters”command
Section titled “command”string
string[]
Returns
Section titled “Returns”Promise<unknown>