( handler: (status: AutoChangeDetectionStatus) => void, )
| 47 | * @param handler The handler for the auto change detection status. |
| 48 | */ |
| 49 | export function handleAutoChangeDetectionStatus( |
| 50 | handler: (status: AutoChangeDetectionStatus) => void, |
| 51 | ) { |
| 52 | stopHandlingAutoChangeDetectionStatus(); |
| 53 | autoChangeDetectionSubscription = autoChangeDetectionSubject.subscribe(handler); |
| 54 | } |
| 55 | |
| 56 | /** Allows a `HarnessEnvironment` to stop handling auto change detection status changes. */ |
| 57 | export function stopHandlingAutoChangeDetectionStatus() { |
no test coverage detected
searching dependent graphs…