MCPcopy
hub / github.com/socketio/socket.io / isRedisClient

Function isRedisClient

packages/socket.io-cluster-engine/lib/redis.ts:198–200  ·  view source on GitHub ↗

* Whether the redis client comes from the 'redis' or the 'ioredis' package * @param redisClient

(redisClient: any)

Source from the content-addressed store, hash-verified

196 * @param redisClient
197 */
198function isRedisClient(redisClient: any) {
199 return typeof redisClient.sSubscribe === "function";
200}

Callers 1

SUBSCRIBEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected