Lazily create a co stream when it's first read from.
Useful for when streams need setup and you for example map them over values
with co-cat.
var lazy = require('co-lazy');
var stream = lazy(function*(){
yield doSomeSetup();
return function*(end){
// .. the stream implementation
}
});
Lazily create a stream from fn, returning a stream immediately.
$ npm install co-lazy
MIT