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

Function guard2

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

delayObservableFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected