aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src/client.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-02-22 03:42:56 +0000
committerBlaž Hrastnik2021-02-22 03:44:36 +0000
commit004a4f37a7aadf794ca746f7d9eee4043634cfe2 (patch)
tree0ecd10b66fdb1f073c33dfd2c50de99e1e70588a /helix-lsp/src/client.rs
parent8b9b02f08b5554a4c17e533937c74c1fb80df5f5 (diff)
lsp: Handle responses being returned after request timed out.
Diffstat (limited to 'helix-lsp/src/client.rs')
-rw-r--r--helix-lsp/src/client.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/helix-lsp/src/client.rs b/helix-lsp/src/client.rs
index 52cd85c1..1e20e67d 100644
--- a/helix-lsp/src/client.rs
+++ b/helix-lsp/src/client.rs
@@ -121,11 +121,6 @@ impl Client {
let response = serde_json::from_value(response)?;
- // TODO: we should pass request to a sender thread via a channel
- // so it can't be interleaved
-
- // TODO: responses can be out of order, we need to register a single shot response channel
-
Ok(response)
}