MCPcopy Index your code
hub / github.com/linuxfoundation/crowd.dev / on

Method on

backend/src/api/websockets/namespace.ts:87–89  ·  view source on GitHub ↗
(event: string, handler: ISocketHandler<TSocket>)

Source from the content-addressed store, hash-verified

85 }
86
87 public on(event: string, handler: ISocketHandler<TSocket>) {
88 this.socketIoNamespace.on(event, handler)
89 }
90
91 public emit(event: string, data: string) {
92 this.socketIoNamespace.emit(event, data)

Callers 15

connectSocketFunction · 0.80
initMethod · 0.80
test.spec.jsFile · 0.80
commands.jsFile · 0.80
constructorMethod · 0.80
spawnClientFunction · 0.80
api.tsFile · 0.80
nodejs-worker.tsFile · 0.80
initMethod · 0.80
main.tsFile · 0.80
getUnleashClientFunction · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected