Avoid receiving notification and sending notification on the same thread
This commit is contained in:
@@ -164,7 +164,7 @@ public final class SimpleLanguageServer implements Sts4LanguageServer, SpringInd
|
||||
}
|
||||
WorkDoneProgressCreateParams params = new WorkDoneProgressCreateParams();
|
||||
params.setToken(taskId);
|
||||
client.createProgress(params).thenAccept((p) -> {
|
||||
client.createProgress(params).thenAcceptAsync((p) -> {
|
||||
ProgressParams progressParams = new ProgressParams();
|
||||
progressParams.setToken(taskId);
|
||||
progressParams.setValue(Either.forLeft(report));
|
||||
|
||||
Reference in New Issue
Block a user