waitUntilSaveComplete() — astro Function Reference
Architecture documentation for the waitUntilSaveComplete() function in mutable-data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 78e02f69_205a_be92_c569_a07f09b79c2d["waitUntilSaveComplete()"] ecb98618_124a_e276_dd98_561beaedc6ea["MutableDataStore"] 78e02f69_205a_be92_c569_a07f09b79c2d -->|defined in| ecb98618_124a_e276_dd98_561beaedc6ea style 78e02f69_205a_be92_c569_a07f09b79c2d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/mutable-data-store.ts lines 377–384
async waitUntilSaveComplete(): Promise<void> {
// If there's no save promise, all saves are complete
if (!this.#savePromise) {
return Promise.resolve();
}
await this.#saveToDiskNow();
return this.#savePromise;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does waitUntilSaveComplete() do?
waitUntilSaveComplete() is a function in the astro codebase, defined in packages/astro/src/content/mutable-data-store.ts.
Where is waitUntilSaveComplete() defined?
waitUntilSaveComplete() is defined in packages/astro/src/content/mutable-data-store.ts at line 377.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free