seantrant
8/10/2017 - 11:19 AM

Observable Timer

Observable Timer

import {Observable} from 'rxjs/Rx';    
    
    let timer = Observable.timer(2000,1000);
    timer.subscribe(t=>{
      this.remaining--;
    });