@porscheinformatik/clr-addons
Version:
Addon components for Clarity Angular
11 lines (10 loc) • 475 B
TypeScript
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>;