I don't think we should pause on the background. If we really wanted pause, we should enable a set of meta controls outside of the emulator (e.g. expose the debug controls).
If we're not pausing, we should have a separate callback to fire .spin() that's not dependent on the draw loop.
As a
requestAnimationFrame()
quirk, we automatically inherited pausing on the background (see https://github.com/facebook/react/issues/11171#issuecomment-357945371 for more info). As a workaround for on resume "RUN EVERYTHING", I capped it to 5 seconds of catchup.I don't think we should pause on the background. If we really wanted pause, we should enable a set of meta controls outside of the emulator (e.g. expose the debug controls).
If we're not pausing, we should have a separate callback to fire
.spin()
that's not dependent on the draw loop.