MCPcopy
hub / github.com/redis/node-redis / pubsub-subscriber.js

File pubsub-subscriber.js

examples/pubsub-subscriber.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// A sample subscriber showing how the subscribe method and pSubscribe method work.
2// https://redis.io/commands/subscribe/
3// https://redis.io/commands/pSubscribe/
4// This consumes messages published by pubsub-publisher.js

Callers

nothing calls this directly

Calls 6

createClientFunction · 0.90
logMethod · 0.80
subscribeMethod · 0.65
connectMethod · 0.45
duplicateMethod · 0.45
pSubscribeMethod · 0.45

Tested by

no test coverage detected