mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
docs about cancelation
This commit is contained in:
parent
00b71e668d
commit
620970b06e
1 changed files with 5 additions and 0 deletions
|
@ -86,6 +86,11 @@ current state, incorporates changes and handles out `Analysis` --- an
|
|||
immutable consistent snapshot of world state at a point in time, which
|
||||
actually powers analysis.
|
||||
|
||||
One interesting aspect of analysis is its support for cancelation. When a change
|
||||
is applied to `AnalysisHost`, first all currently active snapshots are
|
||||
cancelled. Only after all snapshots are dropped the change actually affects the
|
||||
database.
|
||||
|
||||
### `crates/ra_lsp_server`
|
||||
|
||||
An LSP implementation which uses `ra_analysis` for managing state and
|
||||
|
|
Loading…
Reference in a new issue