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

File pubsub-publisher.js

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

Source from the content-addressed store, hash-verified

1// A sample publisher using the publish function to put message on different channels.
2// https://redis.io/commands/publish/
3import { createClient } from 'redis';
4

Callers

nothing calls this directly

Calls 4

createClientFunction · 0.90
publishMethod · 0.80
logMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected