MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / endLsUse

Function endLsUse

src/langserver.js:330–335  ·  view source on GitHub ↗
(port)

Source from the content-addressed store, hash-verified

328}
329
330export function endLsUse(port) {
331 const entry = getLsEntryByPort(port);
332 if (!entry) return;
333 entry.activeRequests = Math.max(0, (entry.activeRequests || 0) - 1);
334 touchEntry(entry);
335}
336
337export function beginLsMaintenanceUse(port) {
338 const entry = getLsEntryByPort(port);

Callers 3

rawGetChatMessageMethod · 0.90
cascadeChatMethod · 0.90
getUserStatusMethod · 0.90

Calls 2

getLsEntryByPortFunction · 0.85
touchEntryFunction · 0.85

Tested by

no test coverage detected