File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed
packages/svelte/src/internal/client/reactivity Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export class Batch {
106106 *
107107 * @param {Effect[] } root_effects
108108 */
109- process ( root_effects ) {
109+ # process( root_effects ) {
110110 set_queued_root_effects ( [ ] ) ;
111111
112112 /** @type {Map<Source, { v: unknown, wv: number }> | null } */
@@ -142,7 +142,7 @@ export class Batch {
142142 }
143143
144144 for ( const root of root_effects ) {
145- this . process_root ( root ) ;
145+ this . # process_root( root ) ;
146146 }
147147
148148 if ( this . #async_effects. length === 0 && this . #pending === 0 ) {
@@ -237,7 +237,7 @@ export class Batch {
237237 /**
238238 * @param {Effect } root
239239 */
240- process_root ( root ) {
240+ # process_root( root ) {
241241 root . f ^= CLEAN ;
242242
243243 var effect = root . first ;
@@ -347,7 +347,7 @@ export class Batch {
347347 infinite_loop_guard ( ) ;
348348 }
349349
350- this . process ( queued_root_effects ) ;
350+ this . # process( queued_root_effects ) ;
351351
352352 old_values . clear ( ) ;
353353 }
@@ -399,22 +399,6 @@ export class Batch {
399399 this . #callbacks. add ( fn ) ;
400400 }
401401
402- /** @param {Effect } effect */
403- skips ( effect ) {
404- /** @type {Effect | null } */
405- var e = effect ;
406-
407- while ( e !== null ) {
408- if ( this . skipped_effects . has ( e ) ) {
409- return true ;
410- }
411-
412- e = e . parent ;
413- }
414-
415- return false ;
416- }
417-
418402 settled ( ) {
419403 return ( this . #deferred ??= deferred ( ) ) . promise ;
420404 }
You can’t perform that action at this time.
0 commit comments