Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow server addons to write responses back #460

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

vinistock
Copy link
Member

Following the same pattern as in #453, we shouldn't assume that everything returned by a server addon is always a response.

We should let the server addon decide when to write the response back and how many responses to write - especially if they are interested in doing logging or informing progress.

This PR changes the way server addon responses are returned to fit the async nature of LSPs better.

@vinistock vinistock added the enhancement New feature or request label Sep 23, 2024
@vinistock vinistock self-assigned this Sep 23, 2024
@vinistock vinistock requested a review from a team as a code owner September 23, 2024 14:55
@vinistock vinistock merged commit 2f706a6 into main Sep 23, 2024
40 checks passed
@vinistock vinistock deleted the vs-let-server-addons-write-responses-back branch September 23, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants