Skip to content
Discussion options

You must be logged in to vote

Hey @durianwaffle,

I believe the documentation is a bit outdated, and the information presented there is no longer accurate as of #1334 (v3.0.0). However, nevertheless, running a validation is blocking the event loop, and therefore any operation triggered during a particularly expensive validation can potentially need to wait until the validation is done.

It is currently not possible to move validations to a separate process/worker thread due to the AST being very difficult to move across threads. This is essentially a limitation of the JS runtime. However, you can register different kinds of validation checks, see #1094. The API for that is unfortunately not well documented on our websit…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by durianwaffle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants