mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Rearrange code
This commit is contained in:
parent
44d6ab2650
commit
8346bdc04d
2 changed files with 106 additions and 107 deletions
|
@ -65,7 +65,7 @@ export class Ctx {
|
|||
async sendRequestWithRetry<R>(
|
||||
method: string,
|
||||
param: any,
|
||||
token: vscode.CancellationToken,
|
||||
token?: vscode.CancellationToken,
|
||||
): Promise<R> {
|
||||
await this.client.onReady();
|
||||
for (const delay of [2, 4, 6, 8, 10, null]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue