* This should fire off `ActivationStart` events for each route being activated at this * level. * In other words, if you're activating `a` and `b` below, `path` will contain the * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always * return * `true` so checks
( snapshot: ActivatedRouteSnapshot | null, forwardEvent?: (evt: Event) => void, )
| 119 | * `true` so checks continue to run. |
| 120 | */ |
| 121 | function fireActivationStart( |
| 122 | snapshot: ActivatedRouteSnapshot | null, |
| 123 | forwardEvent?: (evt: Event) => void, |
| 124 | ): Observable<boolean> { |
| 125 | if (snapshot !== null && forwardEvent) { |
| 126 | forwardEvent(new ActivationStart(snapshot)); |
| 127 | } |
| 128 | return of(true); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * This should fire off `ChildActivationStart` events for each route being activated at this |
no outgoing calls
no test coverage detected
searching dependent graphs…