Hey i was wondering how i would go about dynamically call a function like the following:
async function xxx(number) {
if(number == 10) return
xxx(number + 1);
}
My goal is instead of having it call 1 at a time i want it to call 3/4 and run side by side(if 1 thread has checked number 2 others wont check), the number of threads depending on the needed outcome. This is a basic version but good example of what i need done