MCPcopy Index your code
hub / github.com/microsoft/vscode-languageserver-node / createResponseQueueKey

Function createResponseQueueKey

jsonrpc/src/main.ts:387–393  ·  view source on GitHub ↗
(id: string | number | null)

Source from the content-addressed store, hash-verified

385 }
386
387 function createResponseQueueKey(id: string | number | null): string {
388 if (id === null) {
389 return 'res-unknown-' + (++unknownResponseSquenceNumber).toString();
390 } else {
391 return 'res-' + id.toString();
392 }
393 }
394
395 function createNotificationQueueKey(): string {
396 return 'not-' + (++notificationSquenceNumber).toString();

Callers 1

addMessageToQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected