UNPKG

@porscheinformatik/clr-addons

Version:
11 lines (10 loc) 475 B
import { Observable } from 'rxjs'; import { NgZone } from '@angular/core'; /** * Runs a timer outside of the angular zone and executes the subscription inside the angular zone. */ export declare function zonedTimer(dueTime: number | Date, zone: NgZone): Observable<number>; /** * Runs a interval outside of the angular zone and executes the subscription inside the angular zone. */ export declare function zonedInterval(period: number, zone: NgZone): Observable<number>;