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 98b84dc commit 6247d52Copy full SHA for 6247d52
1 file changed
src/revalidator-manager.ts
@@ -64,9 +64,9 @@ export function revalidateAll(
64
const flagIndex = type === 'focus' ? 5 : 6;
65
const now = timeNow();
66
67
- revalidators.forEach((entry) => {
+ for (const entry of revalidators.values()) {
68
if (!entry[flagIndex]) {
69
- return;
+ continue;
70
}
71
72
entry[1] = now;
@@ -77,7 +77,7 @@ export function revalidateAll(
77
if (revalidator) {
78
Promise.resolve(revalidator(isStaleRevalidation)).catch(noop);
79
80
- });
+ }
81
82
83
/**
0 commit comments