MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / send

Function send

packages/node/src/backend/nodeBackend.ts:269–276  ·  view source on GitHub ↗
(msg: MainToWorkerMessage, transfer?: readonly ArrayBuffer[])

Source from the content-addressed store, hash-verified

267 }
268
269 function send(msg: MainToWorkerMessage, transfer?: readonly ArrayBuffer[]): void {
270 if (worker === null) return;
271 if (transfer !== undefined) {
272 worker.postMessage(msg, transfer as unknown as Array<ArrayBuffer>);
273 return;
274 }
275 worker.postMessage(msg);
276 }
277
278 function handleWorkerMessage(m: unknown): void {
279 if (fatal !== null) return;

Callers 11

renderTickMethod · 0.85
handleWorkerMessageFunction · 0.85
startFunction · 0.85
stopFunction · 0.85
requestFrameFunction · 0.85
pollEventsFunction · 0.85
postUserEventFunction · 0.85
commitScrollbackFunction · 0.85
setInlineRowsFunction · 0.85
getCapsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected