MCPcopy Index your code
hub / github.com/angular/angular / returnUrlTree

Function returnUrlTree

packages/router/test/integration/guards.spec.ts:1851–1857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1849 return false;
1850 };
1851 const returnUrlTree = () => {
1852 const router = inject(Router);
1853 return delayObservable(30).pipe(
1854 mapTo(router.parseUrl('/redirected')),
1855 tap({next: () => log.push('returnUrlTree')}),
1856 );
1857 };
1858
1859 beforeEach(() => {
1860 log = [];

Callers

nothing calls this directly

Calls 4

injectFunction · 0.90
delayObservableFunction · 0.85
parseUrlMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…