pending() — svelte Function Reference
Architecture documentation for the pending() function in boundary.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 57ea3d36_da2d_953c_805b_95c169aa039c["pending()"] 6d3d606a_fb7a_54af_1ece_f1eb12f174d1["boundary.js"] 57ea3d36_da2d_953c_805b_95c169aa039c -->|defined in| 6d3d606a_fb7a_54af_1ece_f1eb12f174d1 1faf4fc8_402e_578f_4e4f_7e097c01b149["pending()"] 1faf4fc8_402e_578f_4e4f_7e097c01b149 -->|calls| 57ea3d36_da2d_953c_805b_95c169aa039c 1faf4fc8_402e_578f_4e4f_7e097c01b149["pending()"] 57ea3d36_da2d_953c_805b_95c169aa039c -->|calls| 1faf4fc8_402e_578f_4e4f_7e097c01b149 105d70f9_4c37_8065_1930_481a85c46cb6["effect_pending_outside_reaction()"] 57ea3d36_da2d_953c_805b_95c169aa039c -->|calls| 105d70f9_4c37_8065_1930_481a85c46cb6 ecf3ff80_c7be_01cc_bbc7_3315415e7fe1["get_effect_pending()"] 57ea3d36_da2d_953c_805b_95c169aa039c -->|calls| ecf3ff80_c7be_01cc_bbc7_3315415e7fe1 style 57ea3d36_da2d_953c_805b_95c169aa039c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/internal/client/dom/blocks/boundary.js lines 491–503
export function pending() {
if (active_effect === null) {
e.effect_pending_outside_reaction();
}
var boundary = active_effect.b;
if (boundary === null) {
return 0; // TODO eventually we will need this to be global
}
return boundary.get_effect_pending();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does pending() do?
pending() is a function in the svelte codebase, defined in packages/svelte/src/internal/client/dom/blocks/boundary.js.
Where is pending() defined?
pending() is defined in packages/svelte/src/internal/client/dom/blocks/boundary.js at line 491.
What does pending() call?
pending() calls 3 function(s): effect_pending_outside_reaction, get_effect_pending, pending.
What calls pending()?
pending() is called by 1 function(s): pending.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free