MCPcopy
hub / github.com/sindresorhus/execa / disconnect

Function disconnect

lib/ipc/validation.js:107–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105// Otherwise, it is likely that one of the processes will stop sending/receiving messages.
106// This would leave the other process hanging.
107export const disconnect = anyProcess => {
108 if (anyProcess.connected) {
109 anyProcess.disconnect();
110 }
111};

Callers 3

get-each.jsFile · 0.90
sendMessageAsyncFunction · 0.90
getOneMessageAsyncFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…