Skip to content

Instantly share code, notes, and snippets.

Avatar

David DooVDe

  • Israel
View GitHub Profile
View Kefir Recursive stream
function getStreamWrapper() {
function getStream(pool) {
return Kefir
.sequentially(1000, [1, 2, 3])
.onEnd(function(){
pool.plug(getStream(pool));
});
}
var pool = Kefir.pool();