Created
January 18, 2018 21:39
-
-
Save sergzak022/5d2a55ad4f35453bd89879fe7c213ac9 to your computer and use it in GitHub Desktop.
RxJS: Switching and Exhausting
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
function multBy2Delayed(number) { | |
// I take 1000ms to multiply your number by two | |
return Observable.timer(1000).map(() => number * 2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment