Exporting the toStream function as default so can-stream can be used as such:
var canStream = require('can-stream');
var compute = require('can-compute');
var someCompute = compute(0);
var streamImplementation = {};
var streamInterface = canStream(streamImplemenation);
streamInterface(someCompute);
Exporting the
toStream
function as default socan-stream
can be used as such: