delay each
delay each
delayEach(arr, iterateFn(item, index, next, finish), finishFn)
install
npm install delayeach
var delayEach = var fs = var files = './example/a.txt' './example/b.txt' './example/c.txt'var contents = /** * file: a.txt b.txt c.txt * ["aaa\n","bbb\n","ccc\n"] */ /** * file: a.txt c.txt * ["aaa\n","ENOENT: no such file or directory, open './example/b.txt'"] */
finish(message)
var delayEach = var arr = 123
/** * function delayEach - 延迟遍历 * @param * @param * @param *//** * @callback - handle * @param * @param * @param * @param */ /** * @callback - finish */