Skip to content

Commit a678030

Browse files
committed
remove queue_boundary_micro_task
1 parent 36a9059 commit a678030

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
set_hydrate_node
2121
} from '../hydration.js';
2222
import { get_next_sibling } from '../operations.js';
23-
import { queue_boundary_micro_task } from '../task.js';
23+
import { queue_micro_task } from '../task.js';
2424
import * as e from '../../../shared/errors.js';
2525
import { DEV } from 'esm-env';
2626
import { 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

packages/svelte/src/internal/client/dom/task.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)