MCPcopy
hub / github.com/linuxfoundation/crowd.dev / IRedisPubSubEmitter

Interface IRedisPubSubEmitter

services/libs/redis/src/types.ts:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface IRedisPubSubEmitter {
18 emit<T>(channel: string, data: T)
19}
20
21export interface IRedisPubSubReceiver {
22 subscribe<T>(channel: string, listener: (data: T) => Promise<void>): string

Callers 6

constructorMethod · 0.65
emitMethod · 0.65
emitToRoomMethod · 0.65
emitMethod · 0.65
emitMethod · 0.65

Implementers 4

RedisPubSubEmitterservices/libs/redis/src/pubsub.ts
WebSocketNamespacebackend/src/api/websockets/namespace.t
RedisPubSubBusservices/libs/redis/src/pubsub.ts
ApiPubSubEmitterservices/libs/redis/src/instances/apiP

Calls

no outgoing calls

Tested by

no test coverage detected