Skip to content

[LSP] Investigate moving taskcompletionsource to queue item instead of callbacks #57221

@dibarbet

Description

@dibarbet

Context - #57140 (comment)

It may be possible to move the TCS representing the completion of the lsp method into the request queue item itself instead of using callbacks to call the handler method / handle failures. This would make the state captured much clearer.

However we would need to implement a IQueueItem interface (or similar) that is not generic to create the queue, and create generic implementations to handle the generic TCS

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions