Async_each_fallback_hoisting() — svelte Function Reference
Architecture documentation for the Async_each_fallback_hoisting() function in index.svelte.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 1faae042_b2b2_7e15_8da6_0064e7b8c744["Async_each_fallback_hoisting()"] 5ab36034_e10e_3d66_6043_52a073c61f57["index.svelte.js"] 1faae042_b2b2_7e15_8da6_0064e7b8c744 -->|defined in| 5ab36034_e10e_3d66_6043_52a073c61f57 style 1faae042_b2b2_7e15_8da6_0064e7b8c744 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/snapshot/samples/async-each-fallback-hoisting/_expected/client/index.svelte.js lines 5–35
export default function Async_each_fallback_hoisting($$anchor) {
var fragment = $.comment();
var node = $.first_child(fragment);
$.async(node, [], [() => Promise.resolve([])], (node, $$collection) => {
$.each(
node,
16,
() => $.get($$collection),
$.index,
($$anchor, item) => {
$.next();
var text = $.text();
$.template_effect(($0) => $.set_text(text, $0), void 0, [() => Promise.reject('This should never be reached')]);
$.append($$anchor, text);
},
($$anchor) => {
$.next();
var text_1 = $.text();
$.template_effect(($0) => $.set_text(text_1, $0), void 0, [() => Promise.resolve(4)]);
$.append($$anchor, text_1);
}
);
});
$.append($$anchor, fragment);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Async_each_fallback_hoisting() do?
Async_each_fallback_hoisting() is a function in the svelte codebase, defined in packages/svelte/tests/snapshot/samples/async-each-fallback-hoisting/_expected/client/index.svelte.js.
Where is Async_each_fallback_hoisting() defined?
Async_each_fallback_hoisting() is defined in packages/svelte/tests/snapshot/samples/async-each-fallback-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