File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/svelte/src/internal/client/dom Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import {
2020 set_hydrate_node
2121} from '../hydration.js' ;
2222import { get_next_sibling } from '../operations.js' ;
23- import { queue_boundary_micro_task } from '../task.js' ;
23+ import { queue_micro_task } from '../task.js' ;
2424import * as e from '../../../shared/errors.js' ;
2525import { DEV } from 'esm-env' ;
2626import { from_async_derived , set_from_async_derived } from '../../reactivity/deriveds.js' ;
@@ -236,7 +236,7 @@ export class Boundary {
236236 this . parent . #update_pending_count( d ) ;
237237 }
238238
239- queueMicrotask ( ( ) => {
239+ queue_micro_task ( ( ) => {
240240 update ( this . effect_pending , d ) ;
241241 } ) ;
242242 }
@@ -306,7 +306,7 @@ export class Boundary {
306306 }
307307
308308 if ( failed ) {
309- queue_boundary_micro_task ( ( ) => {
309+ queue_micro_task ( ( ) => {
310310 this . #failed_effect = this . #run( ( ) => {
311311 this . #is_creating_fallback = true ;
312312
@@ -381,7 +381,7 @@ export function capture(track = true) {
381381 }
382382
383383 // prevent the active effect from outstaying its welcome
384- queue_boundary_micro_task ( exit ) ;
384+ queue_micro_task ( exit ) ;
385385 } ;
386386}
387387
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ function run_idle_tasks() {
2424 run_all ( tasks ) ;
2525}
2626
27- export { queue_micro_task as queue_boundary_micro_task } ;
28-
2927/**
3028 * @param {() => void } fn
3129 */
You can’t perform that action at this time.
0 commit comments