Remove unnecessary waiting during completion RPC requests
Also, add completion requests to the randomized collaboration integration test, to demonstrate that this is valid. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
90f31bb123
commit
41ba980c9b
5 changed files with 99 additions and 53 deletions
|
@ -420,7 +420,9 @@ impl LanguageServer {
|
|||
anyhow!("tried to send a request to a language server that has been shut down")
|
||||
})
|
||||
.and_then(|outbound_tx| {
|
||||
outbound_tx.try_send(message)?;
|
||||
outbound_tx
|
||||
.try_send(message)
|
||||
.context("failed to write to language server's stdin")?;
|
||||
Ok(())
|
||||
});
|
||||
async move {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue