hughsk / vinyl-map

Map vinyl files' contents as strings
MIT License
36 stars 7 forks source link

async support #8

Open mariusGundersen opened 9 years ago

mariusGundersen commented 9 years ago

It would be great if this had async support, for example:

gulp.src('*.js')
.pipe(map(function(content, filename, done){
  doSomethingAsync(content, function(err, result){
    done(result);
  });
}))
.pipe(gulp.dest('output'))
battlesnake commented 9 years ago

Agreed!

nelsonpecora commented 8 years ago

I eventually forked this project and added the async support it, here.