spx icon indicating copy to clipboard operation
spx copied to clipboard

Run spx in standalone thread

Open nighca opened this issue 8 months ago • 0 comments

To avoid blocking page interaction.

By default, iframe script runs in the same thread as the parent page. See details in https://stackoverflow.com/questions/11510483/will-a-browser-give-an-iframe-a-separate-thread-for-javascript.

Running spx / godot in a separate thread (maybe by utilizing web worker) can improve page interactivity.

Related: https://github.com/goplus/builder/issues/1496

nighca avatar Apr 22 '25 01:04 nighca