MCPcopy
hub / github.com/deepstreamIO/deepstream.io / constructor

Method constructor

test-e2e/tools/e2e-cluster-node.ts:9–12  ·  view source on GitHub ↗
(options: any, services: DeepstreamServices, private config: DeepstreamConfig)

Source from the content-addressed store, hash-verified

7 private static emitters = new Map<string, EventEmitter>()
8
9 constructor (options: any, services: DeepstreamServices, private config: DeepstreamConfig) {
10 super()
11 E2EClusterNode.emitters.set(this.config.serverName, new EventEmitter())
12 }
13
14 public sendDirect (toServer: string, message: Message, metaData?: any): void {
15 const msg = { ...message }

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected