close() — vite Function Reference
Architecture documentation for the close() function in runnableEnvironment.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 20a6c33d_fca7_195b_3baa_d6c09fd1b850["close()"] 8886b4fc_682a_2fd8_f88b_60dc42dfb6bc["RunnableDevEnvironment"] 20a6c33d_fca7_195b_3baa_d6c09fd1b850 -->|defined in| 8886b4fc_682a_2fd8_f88b_60dc42dfb6bc 585bf922_8932_bdb0_98d0_ee522538cb6d["runnerImport()"] 585bf922_8932_bdb0_98d0_ee522538cb6d -->|calls| 20a6c33d_fca7_195b_3baa_d6c09fd1b850 2a568e89_e3e7_9284_fd00_e1a9ca1ec09a["close()"] 20a6c33d_fca7_195b_3baa_d6c09fd1b850 -->|calls| 2a568e89_e3e7_9284_fd00_e1a9ca1ec09a style 20a6c33d_fca7_195b_3baa_d6c09fd1b850 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/server/environments/runnableEnvironment.ts lines 72–77
override async close(): Promise<void> {
await super.close()
if (this._runner) {
await this._runner.close()
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does close() do?
close() is a function in the vite codebase, defined in packages/vite/src/node/server/environments/runnableEnvironment.ts.
Where is close() defined?
close() is defined in packages/vite/src/node/server/environments/runnableEnvironment.ts at line 72.
What does close() call?
close() calls 1 function(s): close.
What calls close()?
close() is called by 1 function(s): runnerImport.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free