in runtimes/runtimes/lsp/router/lspRouter.ts [189:200]
private async routeRequestToFirstCapableServer<P, R>(
action: (server: LspServer, params: P, token: CancellationToken) => Promise<[boolean, R | null | undefined]>,
params: P,
token: CancellationToken
): Promise<R | null | undefined> {
for (const server of this.servers) {
const [executed, result] = await action(server, params, token)
if (executed) {
return result
}
}
}