Home / Function/ abortAndRecreateMostRecentNavigation() — astro Function Reference

abortAndRecreateMostRecentNavigation() — astro Function Reference

Architecture documentation for the abortAndRecreateMostRecentNavigation() function in router.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  a555368b_967a_86b4_3484_9737bfbddef8["abortAndRecreateMostRecentNavigation()"]
  2b5c33e2_176e_e839_f05f_7f10493f4f74["router.ts"]
  a555368b_967a_86b4_3484_9737bfbddef8 -->|defined in| 2b5c33e2_176e_e839_f05f_7f10493f4f74
  6b23b6bb_d4a4_83cb_3896_2e31c0316793["transition()"]
  6b23b6bb_d4a4_83cb_3896_2e31c0316793 -->|calls| a555368b_967a_86b4_3484_9737bfbddef8
  style a555368b_967a_86b4_3484_9737bfbddef8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/transitions/router.ts lines 333–338

function abortAndRecreateMostRecentNavigation(): Navigation {
	mostRecentNavigation?.controller.abort();
	return (mostRecentNavigation = {
		controller: new AbortController(),
	});
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does abortAndRecreateMostRecentNavigation() do?
abortAndRecreateMostRecentNavigation() is a function in the astro codebase, defined in packages/astro/src/transitions/router.ts.
Where is abortAndRecreateMostRecentNavigation() defined?
abortAndRecreateMostRecentNavigation() is defined in packages/astro/src/transitions/router.ts at line 333.
What calls abortAndRecreateMostRecentNavigation()?
abortAndRecreateMostRecentNavigation() is called by 1 function(s): transition.

Analyze Your Own Codebase

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

Try Supermodel Free