OptionalextraOptions: {Static OptionalclientStaticminimumStaticrecommendedRuns a command of a blocking connection with the recovery that bzpopmin
gets on an ioredis Cluster: an empty node pool is reconnected before the
command, and a cluster left unusable by its failure is reconnected before
rethrowing it. Other connections just run the command.
StaticwaitWaits for a redis client to be ready.
Redis client to wait for.
Optional factory that creates an IRedisClient from raw options.
When set, RedisConnection will call this factory instead of creating an ioredis client internally. This allows swapping the Redis driver (e.g. node-redis, Bun built-in) without changing consumer code.
The factory receives the merged RedisOptions and must return an already-augmented IRedisClient (e.g. via
createNodeRedisClient).