Created
April 26, 2017 05:46
-
-
Save Ibro/78b2f5353393110adf076a085b2de048 to your computer and use it in GitHub Desktop.
RxJS - Observable.interval - simple - Coding Blast - www.codingblast.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {Observable} from 'rxjs'; | |
Observable | |
.interval(1000) | |
.subscribe(function next(value) { | |
console.log('next: ', value); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment