MCPcopy Create free account
hub / github.com/andywer/threads.js / postFunctionInitMessage

Function postFunctionInitMessage

src/worker/index.ts:49–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function postFunctionInitMessage() {
50 const initMessage: WorkerInitMessage = {
51 type: WorkerMessageType.init,
52 exposed: {
53 type: "function"
54 }
55 }
56 Implementation.postMessageToMaster(initMessage)
57}
58
59function postModuleInitMessage(methodNames: string[]) {
60 const initMessage: WorkerInitMessage = {

Callers 1

exposeFunction · 0.85

Calls 1

postMessageToMasterMethod · 0.80

Tested by

no test coverage detected