Function
publishes
(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
Tested by
no test coverage detected