MCPcopy Create free account
hub / github.com/block/buzz / sendWsText

Function sendWsText

desktop/src/testing/e2eBridge.ts:2763–2768  ·  view source on GitHub ↗
(handler: WsHandler, payload: unknown[])

Source from the content-addressed store, hash-verified

2761}
2762
2763function sendWsText(handler: WsHandler, payload: unknown[]) {
2764 handler({
2765 type: "Text",
2766 data: JSON.stringify(payload),
2767 });
2768}
2769
2770function sendWsClose(handler: WsHandler) {
2771 handler({

Callers 5

emitFunction · 0.85
emitMockLiveEventFunction · 0.85
emitMockGlobalEventFunction · 0.85
connectMockSocketFunction · 0.85
sendToMockSocketFunction · 0.85

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected