MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / stop

Function stop

scripts/run-javascript-headless-browser.mjs:130–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 append(`profiler:started workerSession=${workerSessionId}`);
129 },
130 async stop() {
131 if (!workerSessionId) return null;
132 const { profile } = await send(workerSessionId, 'Profiler.stop');
133 return profile;
134 },
135 close() { try { ws.close(); } catch { /* ignore */ } }
136 };
137}

Callers

nothing calls this directly

Calls 1

sendFunction · 0.85

Tested by

no test coverage detected