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

Function guard2

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

Source from the content-addressed store, hash-verified

1841 return delayObservable(15).pipe(tap({next: () => log.push('guard1')}));
1842 };
1843 const guard2 = () => {
1844 return delayObservable(0).pipe(tap({next: () => log.push('guard2')}));
1845 };
1846 const returnFalseAndNavigate = () => {
1847 log.push('returnFalseAndNavigate');
1848 inject(Router).navigateByUrl('/redirected');

Callers

nothing calls this directly

Calls 2

delayObservableFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…