MCPcopy Create free account
hub / github.com/angular/angular / guard2

Function guard2

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

Source from the content-addressed store, hash-verified

1901 return delayObservable(15).pipe(tap({next: () => log.push('guard1')}));
1902 };
1903 const guard2 = () => {
1904 return delayObservable(0).pipe(tap({next: () => log.push('guard2')}));
1905 };
1906 const returnFalseAndNavigate = () => {
1907 log.push('returnFalseAndNavigate');
1908 inject(Router).navigateByUrl('/redirected');

Callers

nothing calls this directly

Calls 2

delayObservableFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected