loading() — astro Function Reference
Architecture documentation for the loading() function in content-layer.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a0648fd8_d64d_3263_d7bb_baf8d8199b86["loading()"] 4a6efe25_e6e4_25af_3955_aede0d8f5983["ContentLayer"] a0648fd8_d64d_3263_d7bb_baf8d8199b86 -->|defined in| 4a6efe25_e6e4_25af_3955_aede0d8f5983 style a0648fd8_d64d_3263_d7bb_baf8d8199b86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/content-layer.ts lines 76–78
get loading() {
return this.#queue.size > 0 || this.#queue.pending > 0;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does loading() do?
loading() is a function in the astro codebase, defined in packages/astro/src/content/content-layer.ts.
Where is loading() defined?
loading() is defined in packages/astro/src/content/content-layer.ts at line 76.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free