Skip to content

Instantly share code, notes, and snippets.

@briancavalier
Created November 5, 2014 15:23
Show Gist options
  • Select an option

  • Save briancavalier/b0b30dfb03e2b05af08c to your computer and use it in GitHub Desktop.

Select an option

Save briancavalier/b0b30dfb03e2b05af08c to your computer and use it in GitHub Desktop.
var most = require('../../most');
var n = 0;
//var n = 1;
//var n = 2;
var s = 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