The channel to publish to.
Was this page helpful?
const subscription = redis.subscribe(["my-channel"]);const messages = [];subscription.on("message", (data) => { messages.push(data.message);});