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

Make LanguageServer::initialize() asynchronous #182

Merged
merged 1 commit into from
Apr 29, 2020

Conversation

ebkalderon
Copy link
Owner

Changed

  • Make LanguageServer::initialize() handler asynchronous.
  • Update documentation and examples.

Given that we have a mechanism for ensuring that RPC handlers only execute if the server is initialized successfully, there should be no harm in making this function non-blocking as well.

Closes #181.

CC @sawmurai

@ebkalderon ebkalderon self-assigned this Apr 29, 2020
Given that we have a mechanism for ensuring that RPC handlers only
execute if the server is initialized successfully, there should be no
harm in making this function non-blocking as well.
@ebkalderon ebkalderon merged commit 01894bb into master Apr 29, 2020
@ebkalderon ebkalderon deleted the make-initialize-async branch April 29, 2020 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can initialize be async as well?
1 participant