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

Function guard1

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

Source from the content-addressed store, hash-verified

1898
1899 let log: string[];
1900 const guard1 = () => {
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 };

Callers

nothing calls this directly

Calls 4

delayObservableFunction · 0.85
setTimeoutFunction · 0.85
thenMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected