MCPcopy Create free account
hub / github.com/Effect-TS/effect / postMessage

Function postMessage

packages/platform/node/src/NodeWorker.ts:37–39  ·  view source on GitHub ↗
(msg: any, t?: any)

Source from the content-addressed store, hash-verified

35 const thing = "postMessage" in worker ?
36 {
37 postMessage(msg: any, t?: any) {
38 worker.postMessage(msg, t)
39 },
40 kill: () => worker.terminate(),
41 worker
42 } :

Callers

nothing calls this directly

Calls 2

sendMethod · 0.80
postMessageMethod · 0.45

Tested by

no test coverage detected