haskell / haskell/lsp

Universal cancellation support

Open
#540 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
423
Forks
105
PR merge metrics
No merged PRs in 30d

Description

Technically, you're supposed to be allowed to cancel _any_ request with `$/cancel`. We don't support this at the moment.

To do this we would need to run every handler in a thread so we can kill it. So this is very related to https://github.com/haskell/lsp/issues/409

Contributor guide

Open the contributing guide

Research direction

Start by reading the cancellation requirement for `$/cancel` and the related issue #409. Examine how request handlers are currently run and determine the design needed to cancel every handler safely. Done means any request can be cancelled through `$/cancel` without leaving the handler running.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.