MCPcopy
hub / github.com/redis/ioredis / on

Method on

lib/Redis.ts:1005–1005  ·  view source on GitHub ↗
(event: "message", cb: (channel: string, message: string) => void)

Source from the content-addressed store, hash-verified

1003
1004interface Redis extends EventEmitter {
1005 on(event: "message", cb: (channel: string, message: string) => void): this;
1006 once(event: "message", cb: (channel: string, message: string) => void): this;
1007
1008 on(

Callers 15

basic.test.tsFile · 0.65
global.tsFile · 0.65
connectMethod · 0.65
getCommandsFromMonitorFunction · 0.65
connector.tsFile · 0.65
ConnectionPool.tsFile · 0.65
events.test-.tsFile · 0.65
pipeline.tsFile · 0.65
disconnection.tsFile · 0.65
socketTimeout.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected