Fix StatusNotification

This commit is contained in:
vsrs 2020-08-17 14:56:27 +03:00
parent b050937c10
commit 1eed036a6e
5 changed files with 22 additions and 5 deletions

View file

@ -412,7 +412,13 @@ Reloads project information (that is, re-executes `cargo metadata`).
**Method:** `rust-analyzer/status`
**Notification:** `"loading" | "ready" | "invalid" | "needsReload"`
**Notification:**
```typescript
interface StatusParams {
status: "loading" | "ready" | "invalid" | "needsReload",
}
```
This notification is sent from server to client.
The client can use it to display persistent status to the user (in modline).