react-native-background-timer icon indicating copy to clipboard operation
react-native-background-timer copied to clipboard

Make Background Task run Once with Async! [Feature Request?]

Open samuk190 opened this issue 5 years ago • 0 comments

I have an axios request with retries(if the user is disconnected from network for example) RetryAxios(axios,{retries: 3} ) await Axios.put('data').then({ console.log('im here baby') })

I can run this code once in background timer but I want to the axios run entirely, and keep running the retries method, but that doesnt happen it seems background timer doesnt accept async calls.

samuk190 avatar Jul 03 '20 00:07 samuk190