Some loop are not supported the async await properly. If you want to work async await correctly then you could do following things:
const arr = [1,2,3,4]
for(item of arr){
const result = await getNetworkRequest()
}
Some loop are not supported the async await properly. If you want to work async await correctly then you could do following things:
const arr = [1,2,3,4]
for(item of arr){
const result = await getNetworkRequest()
}
0 Comments