Can the front-end javascript determine whether the superimposed data is empty after the four concurrent requests are completed?

can the front-end javascript determine whether the superimposed data is empty after all four concurrent requests are completed? If you can, you can provide an idea or an example. If there is no such technology at the front end, please let me know. Thank you

.
Dec.19,2021

Promise.all ?


can you: can you

take three as an example, there are many ways:

1. Said upstairs Promise.all

Promise.allSettled([promise1,promise2,promise3,promise4]).then(res=>{
    if(res.status === 'fulfilled'){
       //      
    }else{
     //      
    }
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d922-44f45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d922-44f45.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?