leftover

Call callbacks a couple of times and return with the last data

leftover

Call callbacks a couple of times and return with the last data

npm install leftover
var leftover = require('./leftover')
 
  , fn = leftover(3, function(errdata) {
      console.log(data) // will pring out "three" 
    })
 
fn(null, 'one')
fn(null, 'two')
fn(null, 'three')