Setu-TS
    Preparing search index...

    Type Alias NodeRedisClientFactory

    NodeRedisClientFactory: () => NodeRedisClientLike | Promise<NodeRedisClientLike>

    Creates the node-redis client when fromNodeRedis's adapter first connects.

    Passing a factory that imports redis inside it defers loading node-redis until the first command: an OpenTelemetry instrumentation patches @redis/client as Node loads it, so a client created at module load, before TelemetryPlugin registers, is never traced.

    Type Declaration

    0.11.0