Loading sequence (assetsManager, executeWhenReady..)

Hi,

I have a scene with 2 assets manager (1 for textures, 1 for meshes).

What is the best way to load everything. Something like

scene.executeWhenReady() {
firstManager.load()
firstManager.onFinish () {
secondManager.load();
}
secondManager.onFinish () {
runRenderLoop()
}
}

Yep that works well.
Or you can leverage promises with something like that (untested):

var task1 = firstLoader.loadAsync();
var task2 = firstLoader.loadAsync();
Promise.all([task1, task2]).then(() => {
 runRenderLoop()
});