MCPcopy
hub / github.com/sveltejs/svelte / run_all

Function run_all

packages/svelte/src/internal/shared/utils.js:45–49  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

43
44/** @param {Array<() => void>} arr */
45export function run_all(arr) {
46 for (var i = 0; i < arr.length; i++) {
47 arr[i]();
48 }
49}
50
51/**
52 * TODO replace with Promise.withResolvers once supported widely enough

Callers 3

derivedFunction · 0.90
run_micro_tasksFunction · 0.90
initFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected