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

Method once

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

Source from the content-addressed store, hash-verified

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(
1009 event: "messageBuffer",

Callers 15

_connectMethod · 0.80
monitorMethod · 0.80
setSocketTimeoutMethod · 0.80
connectMethod · 0.80
connectToNextMethod · 0.80
readyHandlerFunction · 0.80
connectMethod · 0.80
findOrCreateMethod · 0.80
_resubscribeMethod · 0.80
selectSubscriberMethod · 0.80
waitClientReadyFunction · 0.80
redis.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected