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