diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-11-30 03:35:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 03:35:39 +0000 |
commit | 595a2be024b3523197557a8b122e3ce77f1dae3c (patch) | |
tree | dc47ae9b95dd56b8f488b3939e493b175bc32e2b /runtime/ops/os/sys_info.rs | |
parent | 6718be87c8468b8ed27548e350c62ad86287a900 (diff) |
perf(lsp): cancel ts requests on future drop (#21387)
When an old request is obsoleted while the user is typing, the client
will say so to the server and tower-lsp will drop the future associated
with that request.
This wires that up to the ts server by having any request's token be
cancelled when the surrounding state is dropped.
Diffstat (limited to 'runtime/ops/os/sys_info.rs')
0 files changed, 0 insertions, 0 deletions