continuable-para
v1.2.0
Published
turn multiple continuables into one in parallel.
Downloads
581
Readme
continuable-para
turn multiple continuables into one in parallel.
Example
handle an array.
para([
continuable1,
continuable2,
continuable3
]) (function (err, ary) {
console.log(ary)
//[..,..,..]
})
handle an array.
para({
A: continuable1,
B: continuable2,
C: continuable3
}) (function (err, ary) {
console.log(ary)
//{A:.., B:..., C:...}
})
trains form into array by default
para(cont1, cont2, cont3) (function (err, ary) {
console.log(ary)
//[....]
})
License
MIT