first commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function forever(fn, done) {
|
||||
function next(err) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
}
|
||||
fn(next);
|
||||
}
|
||||
next();
|
||||
};
|
||||
Reference in New Issue
Block a user