0.0.1 • Published 4 years ago
seriap v0.0.1
serialp
Run promises in sequence
Usage
serialp(arrayOfPromisesFunctions,observer).then(
(x=>{
console.log(x);
// ....
}) // x being an array of [success:boolean,result]
); // no catch
observer is
- either a function (index,success,result) which returns a boolean.
- or a boolean
if observer returns false, promises execution stops
0.0.1
4 years ago