Async_each_hoisting() — svelte Function Reference
Architecture documentation for the Async_each_hoisting() function in index.svelte.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 1bc98558_c85d_cd57_0975_f1f3593971ad["Async_each_hoisting()"] 2b2ebc9a_2dff_8e27_bf03_b29bd740b2ea["index.svelte.js"] 1bc98558_c85d_cd57_0975_f1f3593971ad -->|defined in| 2b2ebc9a_2dff_8e27_bf03_b29bd740b2ea style 1bc98558_c85d_cd57_0975_f1f3593971ad fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/snapshot/samples/async-each-hoisting/_expected/client/index.svelte.js lines 5–24
export default function Async_each_hoisting($$anchor) {
const first = Promise.resolve(1);
const second = Promise.resolve(2);
const third = Promise.resolve(3);
var fragment = $.comment();
var node = $.first_child(fragment);
$.async(node, [], [() => Promise.resolve([first, second, third])], (node, $$collection) => {
$.each(node, 17, () => $.get($$collection), $.index, ($$anchor, item) => {
$.next();
var text = $.text();
$.template_effect(($0) => $.set_text(text, $0), void 0, [() => $.get(item)]);
$.append($$anchor, text);
});
});
$.append($$anchor, fragment);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Async_each_hoisting() do?
Async_each_hoisting() is a function in the svelte codebase, defined in packages/svelte/tests/snapshot/samples/async-each-hoisting/_expected/client/index.svelte.js.
Where is Async_each_hoisting() defined?
Async_each_hoisting() is defined in packages/svelte/tests/snapshot/samples/async-each-hoisting/_expected/client/index.svelte.js at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free