Open dkaushik95 opened 6 years ago
Here is a sample code
loading = true
error = false
oboe(url)
.node('!.*', data => {
insertData(data)
})
.start(status => {
loading = false
})
.done( res => {
loading = false
})
.fail(error => {
loading = false
error = true
})
Is there any way to stop the fetching process in oboe when the internet is not available? I am using react native and when my internet goes off, I am stuck in a loading state forever.