-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: it-foreach should only await thenables
If a synchronous function is passed to `it-foreach` we don't need to `await` on the result - this artificial asynchronicity introduces unnecessary latency on hot code paths.
- Loading branch information
1 parent
e083c0f
commit 56f7077
Showing
1 changed file
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters