Skip to content

Commit 8a54f83

Browse files
committed
unused
1 parent fcb6c67 commit 8a54f83

File tree

1 file changed

+0
-12
lines changed
  • packages/svelte/src/internal/client/dom

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,6 @@ function process_raf_task() {
2222
run_all(tasks);
2323
}
2424

25-
/**
26-
* @param {() => void} fn
27-
* @returns {void}
28-
*/
29-
export function schedule_task(fn) {
30-
if (!is_task_queued) {
31-
is_task_queued = true;
32-
setTimeout(process_task, 0);
33-
}
34-
current_queued_tasks.push(fn);
35-
}
36-
3725
/**
3826
* @param {() => void} fn
3927
* @returns {void}

0 commit comments

Comments
 (0)