Use InteractionManager.runAfterInteractions to defer a heavy computation (simulated with a loop of 100M iterations) until after navigation transitions complete.
Click Run to test your code