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 3e7d3b7 commit b44bd67Copy full SHA for b44bd67
packages/svelte/src/internal/client/dom/blocks/boundary.js
@@ -83,7 +83,13 @@ export class Boundary {
83
#pending_count = 0;
84
#is_creating_fallback = false;
85
86
- /** @type {Source<number> | null} */
+ /**
87
+ * A source containing the number of pending async deriveds/expressions.
88
+ * Only created if `$effect.pending()` is used inside the boundary,
89
+ * otherwise updating the source results in needless `Batch.ensure()`
90
+ * calls followed by no-op flushes
91
+ * @type {Source<number> | null}
92
+ */
93
#effect_pending = null;
94
95
#effect_pending_subscriber = createSubscriber(() => {
0 commit comments