MCPcopy Index your code
hub / github.com/stenciljs/core / sendHandle

Function sendHandle

src/dev-server/server-worker-thread.js:4–8  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

2let closeTmr = null;
3
4const sendHandle = (err) => {
5 if (err && err.code === 'ERR_IPC_CHANNEL_CLOSED') {
6 process.exit(0);
7 }
8};
9
10const receiveMessageFromMain = initServerProcess((msg) => {
11 // send message from worker going to main

Callers

nothing calls this directly

Calls 1

exitMethod · 0.80

Tested by

no test coverage detected