I am trying to use Bacon stream as never ending loop but it doesn't work.
var Bacon = require('baconjs');
var INTERVAL = 300;
var tickStream = Bacon.interval(INTERVAL);
var isMaster = tickStream.flatMap(function() {
console.log('I never see the message');
return Bacon.once('some value');
});
Why don't I see anything in console? How can I fix it?