Created
September 24, 2015 18:55
-
-
Save mattpodwysocki/80b51dc67487aac6baf7 to your computer and use it in GitHub Desktop.
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
var source = Rx.Observable.fromArray([1,2,3]) | |
.flatMap(async function (x, i) { | |
var result = await Promise.resolve(x * i); | |
return result; | |
}); | |
source.subscribe(function (x) { console.log(x); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment