Disable the no-await-in-loop
rule
#216
Replies: 3 comments 1 reply
-
The By enforcing the Code example where async function processItems(items) {
for (const item of items) {
await doSomethingAsync(item);
}
} For more details see the documentation |
Beta Was this translation helpful? Give feedback.
-
How often is that actually the case, versus preferring parallel execution? I would argue that the limited amount of requiring sequential execution and adding an Adding the risk of accidentally doing it wrong, I very much like this rule. As an added benefit, the |
Beta Was this translation helpful? Give feedback.
-
Well, adding |
Beta Was this translation helpful? Give feedback.
-
There is a proposal to disable the
no-await-in-loop
rule.Beta Was this translation helpful? Give feedback.
All reactions