autodesk forge – How to process `MultipleModelUtil.js` in parallel?

I’m currently using `Multiple ModelUtil.js` to handle multiple models. (github.com/yiskang/MultipleModelUtil)

Currently, the models are loaded sequentially, which causes performance delays when there are many models. (model count is 41)

I want to process (or load) them **in parallel** to reduce the total loading time.

  1. I attempted to wrap the calls in Promise.all, but it did not seem to run them in true parallel.

  2. Tried using async/await with MultipleModelUtil.loadModel, but the function itself is callback-based.

  3. Looked for options in MultipleModelUtil to enable parallel or asynchronous loading, but couldn’t find them.

Read more here: Source link