delete() — astro Function Reference
Architecture documentation for the delete() function in runtime.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a93368a8_9e65_389c_49b5_51ca39cf4736["delete()"] 91969197_292d_3b15_21c6_0e876968e961["AstroSession"] a93368a8_9e65_389c_49b5_51ca39cf4736 -->|defined in| 91969197_292d_3b15_21c6_0e876968e961 style a93368a8_9e65_389c_49b5_51ca39cf4736 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/session/runtime.ts lines 154–160
delete(key: string) {
this.#data?.delete(key);
if (this.#partial) {
this.#toDelete.add(key);
}
this.#dirty = true;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does delete() do?
delete() is a function in the astro codebase, defined in packages/astro/src/core/session/runtime.ts.
Where is delete() defined?
delete() is defined in packages/astro/src/core/session/runtime.ts at line 154.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free