Created
November 5, 2014 15:36
-
-
Save briancavalier/b3096dca42eecf93aa9b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 most = require('../../most'); | |
| //var n = 0; | |
| //var n = 1; | |
| var n = 2; | |
| var s = most.of(1).flatMap(function() { | |
| return most.periodic(1000); | |
| }).take(n); | |
| s.observe(function(x) { | |
| console.log(x); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment