Open afilp opened 6 years ago
This library just wraps the native timing functions. It looks like your library has its own timer implementation in native code so they might behave differently. You can use both libraries in the same app, but this library can't be used for background tasks (it can only run when the app is active).
The timers are paused when the app goes to the background and are resumed when the app is resumed. That is my experience with React Native at least.
Will this library work well in combination with that library?
https://github.com/ocetnik/react-native-background-timer
Or to rephrase, should react-timeout care about background timeouts/intervals by itself? How does this behave when the app goes to the background? I assume the timers are paused?