Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
online editor: Split Preview class into a frontend and backend
... that communicate with each other over a channel. This means we can pass one side into a web worker and still have this work. Short-term this is mean to enable the LSP running in a web worker take control of the Preview. Mid-term we might be able to also move the preview into a web worker, but that needs OffScreenCanvas, which is not available in Safari-based browsers at this time.
- Loading branch information
Showing
1 changed file
with
167 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters