No easy way to wait for a response to a request
Open
v3
- Dominant language
- Haskell
- Stars
- 423
- Forks
- 105
- PR merge metrics
- No merged PRs in 30d
Description
`sendRequest` gives you an `LspId`, but you can't say "wait until this is responded to". Instead you have a callback-based interface, which isn't easy for clients to use (empirically, see e.g. https://github.com/haskell/lsp/blob/master/lsp/src/Language/LSP/Server/Core.hs#L619).
Contributor guide
Assessment
This issue has not been assessed yet.