-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The current implementation awaits every promise via p-map but that's not super useful, it's basically:
const results = await Promise.all(promises);
const isEvery = results.every(myTestFunction)
What I'd like is an early-return like the [].every
loop, the promise should throw/resolve as soon as the function returns false.
Metadata
Metadata
Assignees
Labels
No labels