for-more
Multithread Synchronization Loop. Support Promise.
Install
npm install for-more --save#or yarn add for-more
Import
//orvar forMore = //or//or
Usage
// forMore([], options, hander, callback)// [].forMore(options, handler, callback)// [].forMore(options, handler).then().catch()// [].forMore(lines, handler).then().catch()// [].forMore(handler).then().catch() 1 2 3// [2, 4, 6] 1 2 3 1 2 3