MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / sendPsMessage

Function sendPsMessage

frontend/src/store/modules/process.ts:206–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 };
205
206 const sendPsMessage = () => {
207 if (!isWsOpen()) {
208 return;
209 }
210
211 if (pendingRequestType !== null) {
212 queuedRequestType = 'ps';
213 return;
214 }
215
216 if (isPsFetching.value) {
217 return;
218 }
219
220 doSendMessage('ps');
221 };
222
223 const sendNetMessage = () => {
224 if (!isWsOpen()) {

Callers 2

sendInitialFunction · 0.85
startPollingFunction · 0.85

Calls 2

isWsOpenFunction · 0.85
doSendMessageFunction · 0.85

Tested by

no test coverage detected