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

Interupt consecutive parsing events #937

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Interupt consecutive parsing events #937

wants to merge 4 commits into from

Conversation

rtetley
Copy link
Collaborator

@rtetley rtetley commented Oct 31, 2024

Currently, as outlined in #682, each time a document is edited, a full parsing is triggered. This cam be problematic and could be at the origin of #914.
The aim of this PR is to make parsing part of the event loop which can then be optimised to only keep the last event.

rtetley and others added 4 commits October 31, 2024 15:13
In order to interupt a full document parse, we first need to make it part of the event loop.
@rtetley rtetley mentioned this pull request Nov 6, 2024
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.

2 participants