MCPcopy
hub / github.com/bugy/script-server / sendEventFromServer

Function sendEventFromServer

web-src/tests/unit/scriptConfig_test.js:148–150  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

146 });
147
148 function sendEventFromServer(event) {
149 observers[0].callback.onNext(event)
150 }
151
152 function sendSocketError(error) {
153 observers[0].callback.onError(error)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected