makeStream
This function takes a stream whose values are bound to the returned compute.
makeStream(setStream)
var Kefir = require('kefir');
var count = Kefir.sequentially(1000, [1, 2]);
var myCompute = canStream.toCompute(function(setStream) {
return setStream.merge(count);
});
Parameters
- setStream
{Stream}
:A stream to bind to the returned compute.