We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb650bd commit 2b8da94Copy full SHA for 2b8da94
src/wait-for.js
@@ -82,6 +82,10 @@ function waitFor(
82
// an entire day banging my head against a wall on this.
83
checkCallback()
84
85
+ if (finished) {
86
+ break
87
+ }
88
+
89
// In this rare case, we *need* to wait for in-flight promises
90
// to resolve before continuing. We don't need to take advantage
91
// of parallelization so we're fine.
0 commit comments