According to ESLint some code like this is not 'clean code'
for(;;) {
await *async function*
}
My aim is to infinitely loop a certain function, executing it one by one, without eventually crashing my app because of call stack limits. I have thought about it for some time but couldn't come up with anything else that would do the same. What ESLint suggests also wouldn't work in my case; they suggest starting all of the functions in the loop and awaiting their resolve/reject callback outside of the loop by using .all().
Help would be appreciated! I just want to write this as cleanly as possible