[Interest] QJSEngine with QRC
Richard Weickelt
richard at weickelt.de
Thu Oct 30 02:10:04 CET 2025
On 10/29/25 23:57, Scott Bloom wrote:
> As to the async, that would be problematic, a typical rendering can take
> up to a second or so, so calling for a rendering and waiting in a
> synchronous manner would provide for a less than satisfactory
> experience.
You may abort the current rendering, start over or run multiple renderers in
parallel... none of that should be the concern of your JavaScript rendering
engine. That should be handled on the outside - in your cpp code.
If that was the only reason for using async/await then you can drop that.
But if your JS module uses language features not supported by QJSEngine, you
will need another engine.
More information about the Interest
mailing list