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

investigate if we need async NAPI APIs #816

Open
OmarTawfik opened this issue Feb 15, 2024 · 0 comments
Open

investigate if we need async NAPI APIs #816

OmarTawfik opened this issue Feb 15, 2024 · 0 comments
Assignees

Comments

@OmarTawfik
Copy link
Collaborator

OmarTawfik commented Feb 15, 2024

The Language.parse() API (and possibly others) should be turned async returning a Promise<T>. This is important for clients like an LSP that shouldn't block the main event loop over parsing that can happen in the background.

More info:

@OmarTawfik OmarTawfik changed the title enable async NAPI APIs investigate if we need async NAPI APIs Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants