MCPcopy Create free account
hub / github.com/GCWing/BitFun / rpcSend

Function rpcSend

src/apps/desktop/resources/worker_host.js:22–24  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

20const storagePath = path.join(appDir, 'storage.json');
21
22function rpcSend(obj) {
23 process.stderr.write(JSON.stringify(obj) + '\n');
24}
25
26/**
27 * Emit a push event to the MiniApp iframe (no request id, no reply expected).

Callers 1

worker_host.jsFile · 0.85

Calls 2

stringifyMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected