Add more async processing in the validation code paths to ensure that cancellation can be triggered.
Repro in VS Code language service extension
- open large section document
- incrementally modify the file near the bottom, keeping it in a valid parser state as often as possible
- check the
Power Query output window to see that diagnostics processing is not being cancelled