Browser Rendering complete

1. A concise explanation of the problem you’re experiencing.

Hello all, I’m trying to determine if there is a way to know when the browser has finished rendering the all objects, including data sources as well as the base tiles. I’m currently using
this.viewer.dataSourceDisplay.ready && this.viewer.scene.globe.tilesLoaded

However these are not giving the right timing as the browser is still in the process of rendering when both of these return true. I’m not sure if this is possible.

Thanks for any assistance.

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

If you’re interested in when the imagery and terrain have finished loading, check out this response:

https://groups.google.com/d/msg/cesium-dev/AKCMefbLHxQ/HKU7xPRvgk8J

For other objects, they each have their own event listeners (like 3D Tilesets). Since it’s an answer from 2015, let me know if it still works. If not, we can try to look into what changed or what an updated one would be.