Home / Function/ runHookServerDone() — astro Function Reference

runHookServerDone() — astro Function Reference

Architecture documentation for the runHookServerDone() function in hooks.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  ca2964fd_f4ca_2dad_7f75_27026e1485e8["runHookServerDone()"]
  19f4084c_157f_a15d_f001_5d8088b75dee["hooks.ts"]
  ca2964fd_f4ca_2dad_7f75_27026e1485e8 -->|defined in| 19f4084c_157f_a15d_f001_5d8088b75dee
  1e1ca282_3771_2cb3_ede6_ff5ab0d382fa["runHookInternal()"]
  ca2964fd_f4ca_2dad_7f75_27026e1485e8 -->|calls| 1e1ca282_3771_2cb3_ede6_ff5ab0d382fa
  style ca2964fd_f4ca_2dad_7f75_27026e1485e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/integrations/hooks.ts lines 480–495

export async function runHookServerDone({
	config,
	logger,
}: {
	config: AstroConfig;
	logger: Logger;
}) {
	for (const integration of config.integrations) {
		await runHookInternal({
			integration,
			hookName: 'astro:server:done',
			logger,
			params: () => ({}),
		});
	}
}

Domain

Subdomains

Frequently Asked Questions

What does runHookServerDone() do?
runHookServerDone() is a function in the astro codebase, defined in packages/astro/src/integrations/hooks.ts.
Where is runHookServerDone() defined?
runHookServerDone() is defined in packages/astro/src/integrations/hooks.ts at line 480.
What does runHookServerDone() call?
runHookServerDone() calls 1 function(s): runHookInternal.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free