getHostId() — astro Function Reference
Architecture documentation for the getHostId() function in server-islands.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 67cf42ad_a2b9_a680_47b7_c763313dc5b0["getHostId()"] 4d35505e_dd90_7891_e19a_4730ce8738e2["ServerIslandComponent"] 67cf42ad_a2b9_a680_47b7_c763313dc5b0 -->|defined in| 4d35505e_dd90_7891_e19a_4730ce8738e2 274139e4_ac9d_689e_6946_beb93471fb84["render()"] 274139e4_ac9d_689e_6946_beb93471fb84 -->|calls| 67cf42ad_a2b9_a680_47b7_c763313dc5b0 bcfee27a_2e68_b340_ffdb_f47378299d82["getIslandContent()"] bcfee27a_2e68_b340_ffdb_f47378299d82 -->|calls| 67cf42ad_a2b9_a680_47b7_c763313dc5b0 style 67cf42ad_a2b9_a680_47b7_c763313dc5b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/server/render/server-islands.ts lines 130–135
async getHostId() {
if (!this.hostId) {
this.hostId = await crypto.randomUUID();
}
return this.hostId;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getHostId() do?
getHostId() is a function in the astro codebase, defined in packages/astro/src/runtime/server/render/server-islands.ts.
Where is getHostId() defined?
getHostId() is defined in packages/astro/src/runtime/server/render/server-islands.ts at line 130.
What calls getHostId()?
getHostId() is called by 2 function(s): getIslandContent, render.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free