5 ms·
From the FAQ. https://github.com/Microsoft/monaco-editor#faq https://github.com/Microsoft/monaco-editor#faq: "Why all these web workers and why should I care?
by JoeCoder_ 10y ago
From the FAQ. https://github.com/Microsoft/monaco-editor#faq https://github.com/Microsoft/monaco-editor#faq:
"Why all these web workers and why should I care?"
"A: Language services create web workers to compute heavy stuff outside the UI thread. They cost hardly anything in terms of resource overhead and you shouldn't worry too much about them, as long as you get them to work (see above the cross-domain case)."
Maybe that's part of the reason?
- amasad 10y agoI think that's pretty much standard practice. I'm not sure about Atom but Ace leverage's workers for linting, intellesense and things like that.