haskell / haskell/lsp

No easy way to wait for a response to a request

Open
#405 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.