I have a function that has a for loop and I trigger the APIs in the queue it's working very well but if I change my app state foreground to background my queue was paused until I reopen the app.
That function doesn't need to stop until I stop manually or all APIs hit successfully.
React native version: 0.64.2