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

Function publishes

test-e2e/framework/event.ts:23–27  ·  view source on GitHub ↗
(clientExpression: string, subscriptionName: string, data: string)

Source from the content-addressed store, hash-verified

21 assert,
22
23 publishes (clientExpression: string, subscriptionName: string, data: string) {
24 clientHandler.getClients(clientExpression).forEach((client) => {
25 client.client.event.emit(subscriptionName, parseData(data))
26 })
27 },
28
29 subscribes (clientExpression: string, subscriptionName: string) {
30 clientHandler.getClients(clientExpression).forEach((client) => {

Callers

nothing calls this directly

Calls 2

parseDataFunction · 0.90
forEachMethod · 0.80

Tested by

no test coverage detected