目录

Does the On-Demand Loading Scenario Support Multiple Tasks at the Same Time?

No. Only one on-demand distribution task can exist at a time for the same app.

Solution

  1. The fetchModules API supports simultaneous download and installation of multiple modules. You can use this API to combine multiple tasks into one.

  2. Use the on API to listen for the download and installation status of the previous task. After the installation is successful, initiate the next task.