investigate if we need async NAPI APIs
OmarTawfik opened this issue · comments
Omar Tawfik commented
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: