Skip to content

Release 0.2.1

Latest
Compare
Choose a tag to compare
@miniflycn miniflycn released this 07 Dec 16:46
· 21 commits to master since this release

You can set a function to handle the unfinished jobs now:

// Global Settings
var urlExtract = require('url-extract')({
  unfinish: function (jobs) {
    // when worker died, this function will callback
    // you can push them to jobPool:   jobs.push()
    // or you can unshift them to jobPool:  jobs.unshift()
  }
});