diff --git a/README.md b/README.md index 1e79b03..7ae980a 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ extract.on('entry', function(header, stream, callback) { stream.resume(); // just auto drain the stream stream.on('end', function() { - next(); // ready for next entry + callback(); // ready for next entry }); });