MCPcopy
hub / github.com/redis/node-redis / subscribe

Method subscribe

packages/client/lib/client/tracing.ts:238–238  ·  view source on GitHub ↗
(handler: (message: any) => void)

Source from the content-addressed store, hash-verified

236 readonly hasSubscribers: boolean;
237 publish(message: unknown): void;
238 subscribe(handler: (message: any) => void): void;
239 unsubscribe(handler: (message: any) => void): void;
240}
241

Callers 15

SUBSCRIBEMethod · 0.65
PSUBSCRIBEMethod · 0.65
SSUBSCRIBEMethod · 0.65
key-prefix.spec.tsFile · 0.65
pub-sub.spec.tsFile · 0.65
tracing.spec.tsFile · 0.65
index.spec.tsFile · 0.65
subscribeMethod · 0.65
SUBSCRIBEMethod · 0.65
subscribeMethod · 0.65
index.spec.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected