Skip to content

Commit 46d61ee

Browse files
committed
make private
1 parent 09f4d75 commit 46d61ee

File tree

1 file changed

+5
-5
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+5
-5
lines changed

packages/svelte/src/internal/client/dom/blocks/boundary.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class Boundary {
8787
/** @type {DocumentFragment | null} */
8888
#offscreen_fragment = null;
8989

90-
local_pending_count = 0;
90+
#local_pending_count = 0;
9191
#pending_count = 0;
9292

9393
#is_creating_fallback = false;
@@ -103,12 +103,12 @@ export class Boundary {
103103

104104
#effect_pending_update = () => {
105105
if (this.#effect_pending) {
106-
internal_set(this.#effect_pending, this.local_pending_count);
106+
internal_set(this.#effect_pending, this.#local_pending_count);
107107
}
108108
};
109109

110110
#effect_pending_subscriber = createSubscriber(() => {
111-
this.#effect_pending = source(this.local_pending_count);
111+
this.#effect_pending = source(this.#local_pending_count);
112112

113113
if (DEV) {
114114
tag(this.#effect_pending, '$effect.pending()');
@@ -297,7 +297,7 @@ export class Boundary {
297297
update_pending_count(d) {
298298
this.#update_pending_count(d);
299299

300-
this.local_pending_count += d;
300+
this.#local_pending_count += d;
301301
effect_pending_updates.add(this.#effect_pending_update);
302302
}
303303

@@ -356,7 +356,7 @@ export class Boundary {
356356
// If the failure happened while flushing effects, current_batch can be null
357357
Batch.ensure();
358358

359-
this.local_pending_count = 0;
359+
this.#local_pending_count = 0;
360360

361361
if (this.#failed_effect !== null) {
362362
pause_effect(this.#failed_effect, () => {

0 commit comments

Comments
 (0)