forEach
JS in Prod notes about forEach
Why JavaScript forEach Cannot Break or Wait for Async Callbacks
Use an indexed loop to stop at a selected job, and keep job promises separately when later code needs access to them.
JS in Prod notes about forEach
Use an indexed loop to stop at a selected job, and keep job promises separately when later code needs access to them.